explicitly unload GL library when falling back to GLX

This commit is contained in:
CasualPokePlayer 2024-11-06 22:30:25 -08:00
parent 4e4377f0e9
commit fe500ef61b
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ namespace BizHawk.Bizware.Graphics
if (loadGlx)
{
SDL_GL_UnloadLibrary();
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "0");
if (SDL_GL_LoadLibrary(null) != 0)
{