diff options
-rw-r--r-- | src/gallium/drivers/i915/i915_state_static.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/i915/i915_state_static.c b/src/gallium/drivers/i915/i915_state_static.c index 44449bec044..2865298318c 100644 --- a/src/gallium/drivers/i915/i915_state_static.c +++ b/src/gallium/drivers/i915/i915_state_static.c @@ -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; } |