projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3412e9
)
s/diffuset/diffuse/
author
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 20:35:49 +0000
(13:35 -0700)
committer
Brian
<brian@yutani.localnet.net>
Wed, 7 Mar 2007 20:35:49 +0000
(13:35 -0700)
src/mesa/shader/slang/slang_builtin.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_builtin.c
b/src/mesa/shader/slang/slang_builtin.c
index b01b74d3599f1077adaaff6e824b66acd94c8fe9..2db7b7983b6c635b53105bed896b397d32dda428 100644
(file)
--- a/
src/mesa/shader/slang/slang_builtin.c
+++ b/
src/mesa/shader/slang/slang_builtin.c
@@
-221,7
+221,7
@@
lookup_statevar(const char *var, GLint index1, GLint index2, const char *field,
if (strcmp(field, "ambient") == 0) {
tokens[3] = STATE_AMBIENT;
}
- else if (strcmp(field, "diffuse
t
") == 0) {
+ else if (strcmp(field, "diffuse") == 0) {
tokens[3] = STATE_DIFFUSE;
}
else if (strcmp(field, "specular") == 0) {