i915: check the new _NEW_PROGRAM_CONSTANT flag

This commit is contained in:
Brian Paul
2009-04-22 09:14:53 -06:00
parent 1dbab84e21
commit a36dd5d54e
+1 -1
View 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);
}