diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-02-28 23:03:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-28 23:03:10 +0100 |
commit | a1cbe8e22bec516b138436d06282046466e89c79 (patch) | |
tree | 24c8d7757a3f1d9e3543a8eff1363f0f7943cbc6 /drivers/gles3/shader_compiler_gles3.cpp | |
parent | c5df3d4d8d3d6ee74b0dad5eeb45f318c8b205a9 (diff) | |
parent | f50488a36188d5975bfa8554687a1acdd394d6a9 (diff) |
Merge pull request #7878 from RebelliousX/else
Bunch of missing `else` statements and general logic
Diffstat (limited to 'drivers/gles3/shader_compiler_gles3.cpp')
-rw-r--r-- | drivers/gles3/shader_compiler_gles3.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.cpp b/drivers/gles3/shader_compiler_gles3.cpp index 12aac79912..14764afdba 100644 --- a/drivers/gles3/shader_compiler_gles3.cpp +++ b/drivers/gles3/shader_compiler_gles3.cpp @@ -401,6 +401,7 @@ String ShaderCompilerGLES3::_dump_node_code(SL::Node *p_node, int p_level, Gener String scode = _dump_node_code(bnode->statements[i],p_level,r_gen_code,p_actions,p_default_actions); if (bnode->statements[i]->type==SL::Node::TYPE_CONTROL_FLOW || bnode->statements[i]->type==SL::Node::TYPE_CONTROL_FLOW) { + // FIXME: if (A || A) ? I am hesitant to delete one of them, could be copy-paste error. code+=scode; //use directly } else { code+=_mktab(p_level)+scode+";\n"; |