summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_flush.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-09 16:32:22 -0600
committerBrian Paul <[email protected]>2008-04-09 16:32:22 -0600
commitaade2f41b0d5cf0fb44e094c0b10cfaf1f621aec (patch)
treee75f19358c96bd48c8b87220a7b865548bd45408 /src/mesa/state_tracker/st_cb_flush.c
parent574f964667c5ec35f4832c839a9dcc24f92e2aab (diff)
gallium: call_flush_front_buffer() from st_glFinish()
Diffstat (limited to 'src/mesa/state_tracker/st_cb_flush.c')
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index d60ad7b82ab..167c7ccbe25 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -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);
}