explicitly unload GL library when falling back to GLX
This commit is contained in:
parent
4e4377f0e9
commit
fe500ef61b
|
@ -79,6 +79,7 @@ namespace BizHawk.Bizware.Graphics
|
||||||
|
|
||||||
if (loadGlx)
|
if (loadGlx)
|
||||||
{
|
{
|
||||||
|
SDL_GL_UnloadLibrary();
|
||||||
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "0");
|
SDL_SetHint(SDL_HINT_VIDEO_X11_FORCE_EGL, "0");
|
||||||
if (SDL_GL_LoadLibrary(null) != 0)
|
if (SDL_GL_LoadLibrary(null) != 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue