From: Brian Paul Date: Wed, 9 Apr 2008 22:32:22 +0000 (-0600) Subject: gallium: call_flush_front_buffer() from st_glFinish() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aade2f41b0d5cf0fb44e094c0b10cfaf1f621aec;p=mesa.git gallium: call_flush_front_buffer() from st_glFinish() --- 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); }