summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2011-02-26 19:11:32 +0100
committerJakob Bornecrantz <[email protected]>2011-02-26 21:20:03 +0100
commit132dc0b6d2aef79920d750d8f4f3852f7e2d599a (patch)
treec90d36013e823c0d8c12f9f7383dc9c3c7ab746c
parent11f9ec5422b45f2bbcffec26f692a6a22e0aaef2 (diff)
i915g: make dynamic state emission actually lazy
Premature semicolon. Signed-off-by: Daniel Vetter <[email protected]>
-rw-r--r--src/gallium/drivers/i915/i915_state_emit.c2
1 files changed, 1 insertions, 1 deletions
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]);
}
}