mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
destroy leaked context
This commit is contained in:
parent
010df00d74
commit
907bea6abb
@ -923,6 +923,9 @@ static bool gfx_ctx_x_set_video_mode(void *data,
|
||||
break;
|
||||
}
|
||||
|
||||
glXMakeContextCurrent(g_x11_dpy, None, None, NULL);
|
||||
glXDestroyContext(g_x11_dpy, x->g_ctx);
|
||||
|
||||
RARCH_LOG("[GLX]: Not running Mesa, trying higher versions...\n");
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user