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 b01b74d3599..2db7b7983b6 100644 --- 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, "diffuset") == 0) { + else if (strcmp(field, "diffuse") == 0) { tokens[3] = STATE_DIFFUSE; } else if (strcmp(field, "specular") == 0) { |