summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2010-08-20 00:08:22 +0100
committerKeith Whitwell <[email protected]>2010-08-22 14:48:24 +0100
commit8570232b3b7930bd2ef58a337e9d57b12d3a8874 (patch)
tree5d7d980ab10536b36bafb3f27ec3de6bca380042 /src/gallium/state_trackers
parent7de1f86c49716eeadb443507d16ead933288059c (diff)
glx/xlib: no need to call XSync from XMesaFlush
Try to eliminate some unnecessary X server round trips.
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r--src/gallium/state_trackers/glx/xlib/xm_api.c2
1 files changed, 1 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 c0c418306fb..3c9d1497617 100644
--- a/src/gallium/state_trackers/glx/xlib/xm_api.c
+++ b/src/gallium/state_trackers/glx/xlib/xm_api.c
@@ -1154,7 +1154,7 @@ void XMesaFlush( XMesaContext c )
xmdpy->screen->fence_finish(xmdpy->screen, fence, 0);
xmdpy->screen->fence_reference(xmdpy->screen, &fence, NULL);
}
- XSync( c->xm_visual->display, False );
+ XFlush( c->xm_visual->display );
}
}