glsl: init var to silence warning
This commit is contained in:
parent
e44c084be5
commit
00ddd4f9e9
|
@ -2775,7 +2775,7 @@ _slang_gen_while(slang_assemble_ctx * A, slang_operation *oper)
|
|||
* body code (child[1])
|
||||
*/
|
||||
slang_ir_node *loop, *breakIf, *body;
|
||||
GLboolean isConst, constTrue;
|
||||
GLboolean isConst, constTrue = GL_FALSE;
|
||||
|
||||
if (!A->EmitContReturn) {
|
||||
/* We don't want to emit CONT instructions. If this while-loop has
|
||||
|
|
Loading…
Reference in New Issue