summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-11-06 13:58:25 -0700
committerBrian <[email protected]>2007-11-06 13:58:25 -0700
commitea286d4df270897ca2a8f9e5e41b82cea419bdae (patch)
treec5739b5f71ba3eac0861368a40d405b935ab9c30 /src/mesa/pipe
parentda3994988b95d145a98cd9130d719b36c0940406 (diff)
need to call pipe->flush() in finish_or_flush()
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r--src/mesa/pipe/xlib/xm_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c
index 67ef7979944..2d07f17bfef 100644
--- a/src/mesa/pipe/xlib/xm_api.c
+++ b/src/mesa/pipe/xlib/xm_api.c
@@ -1386,6 +1386,7 @@ finish_or_flush( GLcontext *ctx )
/* NOT_NEEDED */
#else
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
+ ctx->st->pipe->flush(ctx->st->pipe, 0);
if (xmesa) {
_glthread_LOCK_MUTEX(_xmesa_lock);
XSync( xmesa->display, False );