need to call pipe->flush() in finish_or_flush()
authorBrian <brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 20:58:25 +0000 (13:58 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 20:58:25 +0000 (13:58 -0700)
src/mesa/pipe/xlib/xm_api.c

index 67ef797..2d07f17 100644 (file)
@@ -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 );