i915: check the new _NEW_PROGRAM_CONSTANT flag
authorBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 15:14:53 +0000 (09:14 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 15:14:53 +0000 (09:14 -0600)
src/mesa/drivers/dri/i915/i915_context.c

index fdd2cf610963d30c4a01d53d90497c207e930825..45ba2d14a5d3d111b24cdd11ecbe7bebc03fdb02 100644 (file)
@@ -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);
 }