summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i915
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-04-22 09:14:53 -0600
committerBrian Paul <[email protected]>2009-04-22 09:14:53 -0600
commita36dd5d54e3de5662c694e764d1c49795ddb6814 (patch)
tree470ffbde6a221db47b914d33ba5e1a813991c0be /src/mesa/drivers/dri/i915
parent1dbab84e21cad81e971265db3dbc8dc6c344b340 (diff)
i915: check the new _NEW_PROGRAM_CONSTANT flag
Diffstat (limited to 'src/mesa/drivers/dri/i915')
-rw-r--r--src/mesa/drivers/dri/i915/i915_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i915/i915_context.c b/src/mesa/drivers/dri/i915/i915_context.c
index fdd2cf61096..45ba2d14a5d 100644
--- a/src/mesa/drivers/dri/i915/i915_context.c
+++ b/src/mesa/drivers/dri/i915/i915_context.c
@@ -73,7 +73,7 @@ i915InvalidateState(GLcontext * ctx, GLuint new_state)
p->params_uptodate = 0;
}
- if (new_state & (_NEW_FOG | _NEW_HINT | _NEW_PROGRAM))
+ if (new_state & (_NEW_FOG | _NEW_HINT | _NEW_PROGRAM | _NEW_PROGRAM_CONSTANTS))
i915_update_fog(ctx);
}