summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRoland Scheidegger <[email protected]>2007-05-22 02:52:39 +0200
committerRoland Scheidegger <[email protected]>2007-10-03 22:33:03 +0200
commit17664e262031605c2be580acae4b40d98483a206 (patch)
treeacd7e2a35b05e12a3b4d31b305c83509aa19ad38 /src
parent43a0eb0253a93f39c7ff45efa241e186f143e168 (diff)
make sure optimized fog params get updated
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/prog_statevars.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c
index 975a617ac89..d37d7fb9bf4 100644
--- a/src/mesa/shader/prog_statevars.c
+++ b/src/mesa/shader/prog_statevars.c
@@ -507,6 +507,8 @@ _mesa_program_state_flags(const gl_state_index state[STATE_LENGTH])
switch (state[1]) {
case STATE_TEXRECT_SCALE:
return _NEW_TEXTURE;
+ case STATE_FOG_PARAMS_OPTIMIZED:
+ return _NEW_FOG;
default:
/* unknown state indexes are silently ignored and
* no flag set, since it is handled by the driver.