mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i915g: fix braino in the static state rework
For mip-map level rendering, both draw offset and size tend to change ... Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
11ee41fe7f
commit
d04348aaf6
1 changed files with 2 additions and 1 deletions
|
|
@ -131,7 +131,8 @@ static void update_framebuffer(struct i915_context *i915)
|
|||
i915->current.draw_offset = draw_offset;
|
||||
i915_set_flush_dirty(i915, I915_PIPELINE_FLUSH);
|
||||
i915->static_dirty |= I915_DST_RECT;
|
||||
} else if (i915->current.draw_size != draw_size) {
|
||||
}
|
||||
if (i915->current.draw_size != draw_size) {
|
||||
i915->current.draw_size = draw_size;
|
||||
i915->static_dirty |= I915_DST_RECT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue