[gtk+/wip/gdk-gl2] X11 GdkGLContext: Remove spurious XSync



commit c080e25dd66cfe8f1ee86066bf3bcf7c625c65d9
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Oct 9 16:22:56 2014 +0200

    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 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdkglcontext-x11.c b/gdk/x11/gdkglcontext-x11.c
index b4e4e57..4fe2936 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()");


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]