summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-03-08 00:28:33 +0100
committerMarek Olšák <[email protected]>2011-03-11 02:02:16 +0100
commitbdf103894026238c7e896eccb995b141161bfb70 (patch)
treec4c96e5cd74cb96249833076e95e1648f7a78022 /src/mesa/state_tracker
parentded1e315a432ca8b813f7d6fadc97b0d311ba398 (diff)
st/mesa: remove unnecessary flushes
The framebuffer cache flush should be implicit when calling set_framebuffer_state. There is no need to flush the command stream either.
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_fbo.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c
index ae49434cac9..27b8a06de57 100644
--- a/src/mesa/state_tracker/st_cb_fbo.c
+++ b/src/mesa/state_tracker/st_cb_fbo.c
@@ -431,14 +431,11 @@ static void
st_finish_render_texture(struct gl_context *ctx,
struct gl_renderbuffer_attachment *att)
{
- struct st_context *st = st_context(ctx);
struct st_renderbuffer *strb = st_renderbuffer(att->Renderbuffer);
if (!strb)
return;
- st_flush(st, PIPE_FLUSH_RENDER_CACHE, NULL);
-
strb->rtt = NULL;
/*