X11 GdkGLContext: Remove spurious XSync
This XSync doesn't seem to be necessary. Remove it until otherwise proven.
This commit is contained in:
committed by
Matthias Clasen
parent
3d43a9b084
commit
017775f288
@ -875,9 +875,6 @@ gdk_x11_display_make_gl_context_current (GdkDisplay *display,
|
|||||||
glXSwapIntervalSGI (0);
|
glXSwapIntervalSGI (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: Is this needed? */
|
|
||||||
XSync (dpy, False);
|
|
||||||
|
|
||||||
if (gdk_x11_display_error_trap_pop (display))
|
if (gdk_x11_display_error_trap_pop (display))
|
||||||
{
|
{
|
||||||
g_critical ("X Error received while calling glXMakeContextCurrent()");
|
g_critical ("X Error received while calling glXMakeContextCurrent()");
|
||||||
|
|||||||
Reference in New Issue
Block a user