From: Daniel Vetter Date: Sat, 26 Feb 2011 18:11:32 +0000 (+0100) Subject: i915g: make dynamic state emission actually lazy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=132dc0b6d2aef79920d750d8f4f3852f7e2d599a;p=mesa.git i915g: make dynamic state emission actually lazy Premature semicolon. Signed-off-by: Daniel Vetter --- diff --git a/src/gallium/drivers/i915/i915_state_emit.c b/src/gallium/drivers/i915/i915_state_emit.c index a9a9d7fcb4e..1c77de1acce 100644 --- a/src/gallium/drivers/i915/i915_state_emit.c +++ b/src/gallium/drivers/i915/i915_state_emit.c @@ -223,7 +223,7 @@ i915_emit_hardware_state(struct i915_context *i915 ) { int i; for (i = 0; i < I915_MAX_DYNAMIC; i++) { - if (i915->dynamic_dirty & (1 << i)); + if (i915->dynamic_dirty & (1 << i)) OUT_BATCH(i915->current.dynamic[i]); } }