summaryrefslogtreecommitdiff
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-10-31 17:22:13 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-10-31 17:51:16 -0600
commit851dbaa5b5b5a7bd85e95e504ed9917dae66525e (patch)
tree7ff09a1ee4d5b86125ec3e0d69cbca73031f6e26 /src/mesa/shader
parent766cb95a4564c48f35b5180155ab40320a68e371 (diff)
mesa: fix copy/paste error in GLSL error msg
Diffstat (limited to 'src/mesa/shader')
-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 7006e86958..b412741d2f 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;
}