glx/xlib: no need to call XSync from XMesaFlush

Try to eliminate some unnecessary X server round trips.
This commit is contained in:
Keith Whitwell 2010-08-20 00:08:22 +01:00
parent 7de1f86c49
commit 8570232b3b

View file

@ -1154,7 +1154,7 @@ void XMesaFlush( XMesaContext c )
xmdpy->screen->fence_finish(xmdpy->screen, fence, 0);
xmdpy->screen->fence_reference(xmdpy->screen, &fence, NULL);
}
XSync( c->xm_visual->display, False );
XFlush( c->xm_visual->display );
}
}