summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/slang/slang_codegen.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-10-31 17:22:13 -0600
committerBrian Paul <[email protected]>2008-10-31 17:42:25 -0600
commit89bca902b35f938924cc4423a8d9374ddbb536df (patch)
tree573346e174495c4d01d5a557ced7bbede4729964 /src/mesa/shader/slang/slang_codegen.c
parent69e10084cd3ac9b814b311913138882a32f9f2ea (diff)
mesa: fix copy/paste error in GLSL error msg
Diffstat (limited to 'src/mesa/shader/slang/slang_codegen.c')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 72a3c0ef9ea..de7e96f1674 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -2309,7 +2309,7 @@ _slang_gen_if(slang_assemble_ctx * A, const slang_operation *oper)
/* type-check expression */
if (!_slang_is_boolean(A, &oper->children[0])) {
- slang_info_log_error(A->log, "boolean expression expected for 'while'");
+ slang_info_log_error(A->log, "boolean expression expected for 'if'");
return NULL;
}