From: Francisco Jerez Date: Tue, 28 Sep 2010 20:24:05 +0000 (+0200) Subject: dri/nouveau: Remove unnecessary flush. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bdd19da2183c685056c4c2eee5cea8358d9935cb;p=mesa.git dri/nouveau: Remove unnecessary flush. --- 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)); - } }