mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Fix for previous bugged Xorg GL drivers
This commit is contained in:
parent
99f8f49e8a
commit
d4809d310a
@ -107,6 +107,7 @@ static void gfx_ctx_x_destroy_resources(gfx_ctx_x_data_t *x)
|
||||
#ifdef HAVE_OPENGL
|
||||
if (x->g_ctx)
|
||||
{
|
||||
glXSwapBuffers(g_x11_dpy, x->g_glx_win);
|
||||
glFinish();
|
||||
glXMakeContextCurrent(g_x11_dpy, None, None, NULL);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user