From d4809d310adb06c2e9422c83d5f740ff08f74f79 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 3 Nov 2016 13:25:44 +0100 Subject: [PATCH] Fix for previous bugged Xorg GL drivers --- gfx/drivers_context/x_ctx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gfx/drivers_context/x_ctx.c b/gfx/drivers_context/x_ctx.c index e432dfb5ea..535fc94fa6 100644 --- a/gfx/drivers_context/x_ctx.c +++ b/gfx/drivers_context/x_ctx.c @@ -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);