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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user