Skip to content

Commit

Permalink
explicitly unload GL library when falling back to GLX
Browse files Browse the repository at this point in the history
  • Loading branch information
CasualPokePlayer committed Nov 7, 2024
1 parent 4e4377f commit fe500ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/BizHawk.Bizware.Graphics/OpenGL/SDL2OpenGLContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ static SDL2OpenGLContext()

if (loadGlx)
{
SDL_GL_UnloadLibrary();
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "0");
if (SDL_GL_LoadLibrary(null) != 0)
{
Expand Down

0 comments on commit fe500ef

Please sign in to comment.