diff options
Diffstat (limited to 'src/mesa/shader/slang/slang_builtin.c')
-rw-r--r-- | src/mesa/shader/slang/slang_builtin.c | 2 |
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; } |