summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-23 17:11:01 -0700
committerBrian <[email protected]>2007-02-23 17:11:01 -0700
commitf1390a34241d5efcf931b0edec81dd802ad3b835 (patch)
treee0e94ae7eb6748e3d0d6ffac6f50c9e99935edfa /src/mesa/shader
parente80d901d9854b7c24a71fcd5a3377c33f408c8c0 (diff)
fix fog breakage
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/arbprogparse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c
index 6058fc98892..7d34bfbc808 100644
--- a/src/mesa/shader/arbprogparse.c
+++ b/src/mesa/shader/arbprogparse.c
@@ -1188,12 +1188,10 @@ parse_state_single_item (GLcontext * ctx, const GLubyte ** inst,
case STATE_FOG:
switch (*(*inst)++) {
case FOG_COLOR:
- state_tokens[0] = STATE_FOG;
- state_tokens[1] = STATE_FOG_COLOR;
+ state_tokens[0] = STATE_FOG_COLOR;
break;
case FOG_PARAMS:
- state_tokens[0] = STATE_FOG;
- state_tokens[1] = STATE_FOG_PARAMS;
+ state_tokens[0] = STATE_FOG_PARAMS;
break;
}
break;