Skip to content

Commit

Permalink
Explicitly request an OpenGL Core 3.2 context
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTG committed Jun 13, 2024
1 parent 87a3dfb commit 5d34309
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libretro/render/opengl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ MelonDsDs::OpenGLRenderState::OpenGLRenderState() {
glsm_ctx_params_t params = {};

// MelonDS DS wants an opengl 3.1 context, so glcore is required for mesa compatibility
params.context_type = RETRO_HW_CONTEXT_OPENGL;
params.context_type = RETRO_HW_CONTEXT_OPENGL_CORE;
params.major = 3;
params.minor = 1;
params.minor = 2;
params.context_reset = HardwareContextReset;
params.context_destroy = HardwareContextDestroyed;
params.environ_cb = retro::environment;
Expand Down

0 comments on commit 5d34309

Please sign in to comment.