diff options
author | Keith Whitwell <[email protected]> | 2010-08-20 00:14:47 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2010-08-22 14:48:24 +0100 |
commit | 8b15de2736976ed6095d6f36e22c66f9de43601d (patch) | |
tree | 17e24d1bb3daf245c5f0ed5a37af4c113ed306c2 /src/gallium/state_trackers | |
parent | 8570232b3b7930bd2ef58a337e9d57b12d3a8874 (diff) |
glx/xlib: remove another XSync
With this change, xmesa_get_window_size still does one round trip, but
that's better than doing two.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/glx/xlib/xm_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |