mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-04 21:30:26 +01:00
mesa: fix copy/paste error in GLSL error msg
This commit is contained in:
parent
69e10084cd
commit
89bca902b3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue