diff options
author | Brian <[email protected]> | 2007-02-22 09:29:46 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-02-22 09:29:46 -0700 |
commit | 776bc9cf55b116e17dddde4d097985b51879c83f (patch) | |
tree | 7f2b21fffc33807b0bd8d23636a1fd024f90d822 /src/mesa/shader/arbprogparse.c | |
parent | 3f4826a358cab8b6d638fc8eb46aef668a7bcf46 (diff) |
Undo some STATE_POINT/FOG changes. Max length of state token array is now 5.
Diffstat (limited to 'src/mesa/shader/arbprogparse.c')
-rw-r--r-- | src/mesa/shader/arbprogparse.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/shader/arbprogparse.c b/src/mesa/shader/arbprogparse.c index 480fdf512ca..9dbcb60a174 100644 --- a/src/mesa/shader/arbprogparse.c +++ b/src/mesa/shader/arbprogparse.c @@ -1276,13 +1276,11 @@ parse_state_single_item (GLcontext * ctx, const GLubyte ** inst, case STATE_POINT: switch (*(*inst++)) { case POINT_SIZE: - state_tokens[0] = STATE_POINT; - state_tokens[1] = STATE_POINT_SIZE; + state_tokens[0] = STATE_POINT_SIZE; break; case POINT_ATTENUATION: - state_tokens[0] = STATE_POINT; - state_tokens[1] = STATE_POINT_ATTENUATION; + state_tokens[0] = STATE_POINT_ATTENUATION; break; } break; |