From: Francisco Jerez Date: Mon, 22 Mar 2010 13:15:52 +0000 (+0100) Subject: dri/nouveau: Emit dirty states on nouveau_validate_framebuffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c695e80017373caf6e8d7139b8d3df2d945ccce5;p=mesa.git dri/nouveau: Emit dirty states on nouveau_validate_framebuffer. Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4). --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index be57d48b8dd..deb7b5b1d0d 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_context.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_context.c @@ -337,6 +337,8 @@ nouveau_validate_framebuffer(GLcontext *ctx) update_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)); + } }