summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-04-09 16:32:22 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-04-09 16:32:22 -0600
commitaade2f41b0d5cf0fb44e094c0b10cfaf1f621aec (patch)
treee75f19358c96bd48c8b87220a7b865548bd45408 /src/mesa
parent574f964667c5ec35f4832c839a9dcc24f92e2aab (diff)
gallium: call_flush_front_buffer() from st_glFinish()
Diffstat (limited to 'src/mesa')
-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 d60ad7b82a..167c7ccbe2 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);
}