summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2010-09-28 22:24:05 +0200
committerFrancisco Jerez <[email protected]>2010-09-30 16:48:20 +0200
commitbdd19da2183c685056c4c2eee5cea8358d9935cb (patch)
treefd9201935635bf93244b1a4dc633c995df6adda7 /src
parent6f39280ba910e290fb3cda378057dc91e5811c95 (diff)
dri/nouveau: Remove unnecessary flush.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c
index fbe4edea584..1121d2d3d39 100644
--- a/src/mesa/drivers/dri/nouveau/nouveau_context.c
+++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c
@@ -353,8 +353,6 @@ nouveau_validate_framebuffer(GLcontext *ctx)
validate_framebuffer(dri_ctx, dri_read,
&dri_ctx->dri2.read_stamp);
- if (nouveau_next_dirty_state(ctx) >= 0) {
+ if (nouveau_next_dirty_state(ctx) >= 0)
nouveau_state_emit(ctx);
- FIRE_RING(context_chan(ctx));
- }
}