gallium: call_flush_front_buffer() from st_glFinish()
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Apr 2008 22:32:22 +0000 (16:32 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 9 Apr 2008 22:32:22 +0000 (16:32 -0600)
src/mesa/state_tracker/st_cb_flush.c

index d60ad7b..167c7cc 100644 (file)
@@ -132,6 +132,8 @@ void st_finish( struct st_context *st )
 static void st_glFinish(GLcontext *ctx)
 {
    st_finish( ctx->st );
+
+   flush_front_buffer(ctx->st, PIPE_FLUSH_RENDER_CACHE, NULL);
 }