From 8b15de2736976ed6095d6f36e22c66f9de43601d Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 20 Aug 2010 00:14:47 +0100 Subject: [PATCH] glx/xlib: remove another XSync With this change, xmesa_get_window_size still does one round trip, but that's better than doing two. --- src/gallium/state_trackers/glx/xlib/xm_api.c | 1 - 1 file changed, 1 deletion(-) 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); -- 2.30.2