summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/xlib
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-06 13:58:25 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-06 13:58:25 -0700
commitea286d4df270897ca2a8f9e5e41b82cea419bdae (patch)
treec5739b5f71ba3eac0861368a40d405b935ab9c30 /src/mesa/pipe/xlib
parentda3994988b95d145a98cd9130d719b36c0940406 (diff)
need to call pipe->flush() in finish_or_flush()
Diffstat (limited to 'src/mesa/pipe/xlib')
-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 67ef797994..2d07f17bfe 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 );