Module: Mesa Branch: master Commit: c695e80017373caf6e8d7139b8d3df2d945ccce5 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c695e80017373caf6e8d7139b8d3df2d945ccce5
Author: Francisco Jerez <curroje...@riseup.net> Date: Mon Mar 22 14:15:52 2010 +0100 dri/nouveau: Emit dirty states on nouveau_validate_framebuffer. Fixes broken intermediate frames when a window is being resized (regression caused by 878eef8c4). --- src/mesa/drivers/dri/nouveau/nouveau_context.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c b/src/mesa/drivers/dri/nouveau/nouveau_context.c index be57d48..deb7b5b 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)); + } } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit