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 67ef797994458d2139ce60b6db38c7bb695824b4..2d07f17bfef2d4c72f1d6b8c02b41dc34f3de1b5 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 );