OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e80d901
)
fix fog breakage
author
Brian
<brian@yutani.localnet.net>
Sat, 24 Feb 2007 00:11:01 +0000
(17:11 -0700)
committer
Brian
<brian@yutani.localnet.net>
Sat, 24 Feb 2007 00:11:01 +0000
(17:11 -0700)
src/mesa/shader/arbprogparse.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/arbprogparse.c
b/src/mesa/shader/arbprogparse.c
index
6058fc9
..
7d34bfb
100644
(file)
--- 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;