X11 GdkGLContext: Remove spurious XSync

This XSync doesn't seem to be necessary. Remove it until otherwise
proven.
This commit is contained in:
Alexander Larsson 2014-10-09 16:22:56 +02:00 committed by Matthias Clasen
parent 3d43a9b084
commit 017775f288

View File

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