Fix for previous bugged Xorg GL drivers

This commit is contained in:
twinaphex 2016-11-03 13:25:44 +01:00
parent 99f8f49e8a
commit d4809d310a

View File

@ -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);