i915g: make dynamic state emission actually lazy
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Sat, 26 Feb 2011 18:11:32 +0000 (19:11 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sat, 26 Feb 2011 20:20:03 +0000 (21:20 +0100)
Premature semicolon.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
src/gallium/drivers/i915/i915_state_emit.c

index a9a9d7fcb4ec45ec87e3a1d9d3e9e5a5865260f8..1c77de1acce37994d6cbb5226abd5a08673d8866 100644 (file)
@@ -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]);
       }
    }