summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_flush.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-12-20 13:47:46 +0000
committerKeith Whitwell <[email protected]>2007-12-20 13:47:46 +0000
commita85535b7cb0886f23e5686e37d1fa54394cdece4 (patch)
tree9940a0b79f6c2132a28046bd5015af2329a827e0 /src/mesa/state_tracker/st_cb_flush.c
parent9e41d547db6669ff669f1d60cb35df9edf306370 (diff)
gallium: make state tracker explictly ask for rendercache flushes
Diffstat (limited to 'src/mesa/state_tracker/st_cb_flush.c')
-rw-r--r--src/mesa/state_tracker/st_cb_flush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_cb_flush.c b/src/mesa/state_tracker/st_cb_flush.c
index 95149a32006..9808b1f8f65 100644
--- a/src/mesa/state_tracker/st_cb_flush.c
+++ b/src/mesa/state_tracker/st_cb_flush.c
@@ -83,7 +83,7 @@ void st_flush( struct st_context *st, uint pipeFlushFlags )
*/
static void st_Flush(GLcontext *ctx)
{
- st_flush(ctx->st, 0x0);
+ st_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE);
}
@@ -92,7 +92,7 @@ static void st_Flush(GLcontext *ctx)
*/
static void st_Finish(GLcontext *ctx)
{
- st_flush(ctx->st, PIPE_FLUSH_WAIT);
+ st_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE | PIPE_FLUSH_WAIT);
}