glx/xlib: remove another XSync

With this change, xmesa_get_window_size still does one round trip, but
that's better than doing two.
This commit is contained in:
Keith Whitwell
2010-08-20 00:14:47 +01:00
parent 8570232b3b
commit 8b15de2736

View File

@@ -263,7 +263,6 @@ xmesa_get_window_size(Display *dpy, XMesaBuffer b,
Status stat;
pipe_mutex_lock(xmdpy->mutex);
XSync(b->xm_visual->display, 0); /* added for Chromium */
stat = get_drawable_size(dpy, b->ws.drawable, width, height);
pipe_mutex_unlock(xmdpy->mutex);