diff options
author | Francisco Jerez <[email protected]> | 2010-03-22 14:15:52 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-03-22 18:41:22 +0100 |
commit | c695e80017373caf6e8d7139b8d3df2d945ccce5 (patch) | |
tree | 534c14737caddb788f07efccd2cfef7131ae64c4 /src/mesa | |
parent | 4e3b950c70721b826c712636d37197dd5a76b910 (diff) |
dri/nouveau: Emit dirty states on nouveau_validate_framebuffer.
Fixes broken intermediate frames when a window is being resized
(regression caused by 878eef8c4).
Diffstat (limited to 'src/mesa')
-rw-r--r-- | 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 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)); + } } |