From: Brian Paul Date: Wed, 22 Apr 2009 15:14:53 +0000 (-0600) Subject: i915: check the new _NEW_PROGRAM_CONSTANT flag X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a36dd5d54e3de5662c694e764d1c49795ddb6814;p=mesa.git i915: check the new _NEW_PROGRAM_CONSTANT flag --- 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); }