summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/glx
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-08-20 00:14:47 +0100
committerKeith Whitwell <keithw@vmware.com>2010-08-22 14:48:24 +0100
commit8b15de2736976ed6095d6f36e22c66f9de43601d (patch)
tree17e24d1bb3daf245c5f0ed5a37af4c113ed306c2 /src/gallium/state_trackers/glx
parent8570232b3b7930bd2ef58a337e9d57b12d3a8874 (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/glx')
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_api.c1
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 3c9d149761..2fc400b3fc 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);