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 2d09f6b64f955ece5039b85717147e7a9b0ed5b1..8ff54c0e569e3dd7a8e3767d8381e9de75d60849 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;
    }