From c080e25dd66cfe8f1ee86066bf3bcf7c625c65d9 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 9 Oct 2014 16:22:56 +0200 Subject: [PATCH] X11 GdkGLContext: Remove spurious XSync This XSync doesn't seem to be necessary. Remove it until otherwise proven. --- gdk/x11/gdkglcontext-x11.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c index b4e4e57b40..4fe2936f25 100644 --- a/gdk/x11/gdkglcontext-x11.c +++ b/gdk/x11/gdkglcontext-x11.c @@ -875,9 +875,6 @@ gdk_x11_display_make_gl_context_current (GdkDisplay *display, glXSwapIntervalSGI (0); } - /* TODO: Is this needed? */ - XSync (dpy, False); - if (gdk_x11_display_error_trap_pop (display)) { g_critical ("X Error received while calling glXMakeContextCurrent()");