1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Prevent shader crash if multiple variables has been declared in 'for'

This commit is contained in:
Yuri Roubinsky
2020-03-26 13:32:39 +03:00
parent 0ecca1abd0
commit aa33db056a
2 changed files with 6 additions and 0 deletions

View File

@@ -487,6 +487,7 @@ public:
enum BlockType {
BLOCK_TYPE_STANDART,
BLOCK_TYPE_FOR,
BLOCK_TYPE_SWITCH,
BLOCK_TYPE_CASE,
BLOCK_TYPE_DEFAULT,