make sure optimized fog params get updated

This commit is contained in:
Roland Scheidegger
2007-05-22 02:52:39 +02:00
parent 1078ef83eb
commit 7f1879d4e1

View File

@@ -507,6 +507,8 @@ _mesa_program_state_flags(const gl_state_index state[STATE_LENGTH])
switch (state[1]) { switch (state[1]) {
case STATE_TEXRECT_SCALE: case STATE_TEXRECT_SCALE:
return _NEW_TEXTURE; return _NEW_TEXTURE;
case STATE_FOG_PARAMS_OPTIMIZED:
return _NEW_FOG;
default: default:
/* unknown state indexes are silently ignored and /* unknown state indexes are silently ignored and
* no flag set, since it is handled by the driver. * no flag set, since it is handled by the driver.