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,