i915: And remember assign the new value to the state reg...
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Feb 2011 22:09:12 +0000 (22:09 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 23 Feb 2011 22:10:43 +0000 (22:10 +0000)
Fixes regression from 298ebb78de8a6b6edf0aa0fe8d784d00bbc2930e.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=34589
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
src/mesa/drivers/dri/i915/i915_state.c

index 93d344d9d45c7a0d72d2b0a423d671be5fd87244..58d4f5daffd68f2c3c3dac23a971d173ca8420da 100644 (file)
@@ -98,6 +98,7 @@ i915_update_stencil(struct gl_context * ctx)
    dw &= ~(mask); \
    dw |= (set); \
    dirty |= dw != i915->state.Ctx[reg]; \
+   i915->state.Ctx[reg] = dw; \
 } while(0)
 
    /* Set front state. */