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 d60ad7b82ab235c6122fa93ad3021687e18d8055..167c7ccbe258d3a83ab1138c10f882fb2c694c44 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);
 }