summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-05-22 02:52:39 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-05-22 03:32:25 +0200
commit7f1879d4e137f9b98d7430976adf9c28c4bf9fcf (patch)
tree33afe3ae18e603ea6622bfa310db79456c3ae0a4 /src/mesa/shader
parent1078ef83eb3458363bf9709a7c697b39020266ea (diff)
make sure optimized fog params get updated
Diffstat (limited to 'src/mesa/shader')
-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 975a617ac8..d37d7fb9bf 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.