From: Keith Whitwell Date: Thu, 19 Aug 2010 23:14:47 +0000 (+0100) Subject: glx/xlib: remove another XSync X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8b15de2736976ed6095d6f36e22c66f9de43601d;p=mesa.git glx/xlib: remove another XSync With this change, xmesa_get_window_size still does one round trip, but that's better than doing two. --- diff --git a/src/gallium/state_trackers/glx/xlib/xm_api.c b/src/gallium/state_trackers/glx/xlib/xm_api.c index 3c9d1497617..2fc400b3fcc 100644 --- a/src/gallium/state_trackers/glx/xlib/xm_api.c +++ b/src/gallium/state_trackers/glx/xlib/xm_api.c @@ -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);