summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_framebuffer.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_framebuffer.c
parent9e41d547db6669ff669f1d60cb35df9edf306370 (diff)
gallium: make state tracker explictly ask for rendercache flushes
Diffstat (limited to 'src/mesa/state_tracker/st_framebuffer.c')
-rw-r--r--src/mesa/state_tracker/st_framebuffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c
index 5e0943f75cc..7ddc74e355c 100644
--- a/src/mesa/state_tracker/st_framebuffer.c
+++ b/src/mesa/state_tracker/st_framebuffer.c
@@ -33,6 +33,7 @@
#include "st_public.h"
#include "st_context.h"
#include "st_cb_fbo.h"
+#include "pipe/p_defines.h"
struct st_framebuffer *
@@ -170,7 +171,7 @@ st_notify_swapbuffers(struct st_framebuffer *stfb)
GET_CURRENT_CONTEXT(ctx);
if (ctx && ctx->DrawBuffer == &stfb->Base) {
- st_flush(ctx->st, 0x0);
+ st_flush(ctx->st, PIPE_FLUSH_RENDER_CACHE);
}
}