From: Brian Paul Date: Fri, 31 Oct 2008 23:22:13 +0000 (-0600) Subject: mesa: fix copy/paste error in GLSL error msg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=851dbaa5b5b5a7bd85e95e504ed9917dae66525e;p=mesa.git mesa: fix copy/paste error in GLSL error msg --- diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 7006e86958d..b412741d2f3 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; }