diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-05-18 19:24:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 19:24:04 +0300 |
commit | 57927bd56b1e5e4e09abe8c66af754fda269e9bd (patch) | |
tree | 6f1342df86a307b36773acb430bd3f4bb4c4dfc2 | |
parent | 20765800803e7864fa6cd0b641c129c349429e6e (diff) | |
parent | 96b2e54c70a38f2f85a728ff16674ccfc5d6d950 (diff) |
Merge pull request #48813 from Chaosus/shader_fix_codestyle_typo
Fix typo in shader_language.cpp
-rw-r--r-- | servers/rendering/shader_language.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp index a81306b97d..43eaf213d7 100644 --- a/servers/rendering/shader_language.cpp +++ b/servers/rendering/shader_language.cpp @@ -3186,7 +3186,7 @@ bool ShaderLanguage::_check_node_constness(const Node *p_node) const { switch (p_node->type) { case Node::TYPE_OPERATOR: { OperatorNode *op_node = (OperatorNode *)p_node; - for (int i = (1 ? op_node->op == OP_CALL : 0); i < op_node->arguments.size(); i++) { + for (int i = int(op_node->op == OP_CALL); i < op_node->arguments.size(); i++) { if (!_check_node_constness(op_node->arguments[i])) { return false; } |