fix ProjectionMatrix typo
authorBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 14:53:30 +0000 (07:53 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 8 Mar 2007 14:53:30 +0000 (07:53 -0700)
src/mesa/shader/slang/slang_builtin.c

index 2d09f6b..8ff54c0 100644 (file)
@@ -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;
    }