summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-03-08 07:53:30 -0700
committerBrian <[email protected]>2007-03-08 07:53:30 -0700
commit6ff0a04f7ccc6a7049bccedb3dc52382e854848b (patch)
tree430bc60bb8e8285f59692ea35fc02b1873e752fd /src/mesa/shader/slang
parent7e66cad998d7f8d51f373c5b45e9fd74f350d12e (diff)
fix ProjectionMatrix typo
Diffstat (limited to 'src/mesa/shader/slang')
-rw-r--r--src/mesa/shader/slang/slang_builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_builtin.c b/src/mesa/shader/slang/slang_builtin.c
index 2d09f6b64f9..8ff54c0e569 100644
--- a/src/mesa/shader/slang/slang_builtin.c
+++ b/src/mesa/shader/slang/slang_builtin.c
@@ -62,7 +62,7 @@ lookup_statevar(const char *var, GLint index1, GLint index2, const char *field,
tokens[0] = STATE_MODELVIEW_MATRIX;
isMatrix = GL_TRUE;
}
- else if (strcmp(var, "gl_ModelProjectionMatrix") == 0) {
+ else if (strcmp(var, "gl_ProjectionMatrix") == 0) {
tokens[0] = STATE_PROJECTION_MATRIX;
isMatrix = GL_TRUE;
}