mesa: fix copy/paste error in GLSL error msg
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 31 Oct 2008 23:22:13 +0000 (17:22 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 31 Oct 2008 23:51:16 +0000 (17:51 -0600)
src/mesa/shader/slang/slang_codegen.c

index 7006e86958ded8fc8f3d1b75c0c957fe3ec18a4f..b412741d2f3c6382f2207d474829270cb4e0cda3 100644 (file)
@@ -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;
    }