Fix shader failure when using non-const initializer on a constant

This commit is contained in:
Yuri Rubinsky
2023-02-01 09:04:10 +03:00
parent afe3b94ab2
commit e034d5f764
2 changed files with 24 additions and 2 deletions

View File

@ -953,7 +953,7 @@ private:
StringName shader_type_identifier;
StringName current_function;
bool last_const = false;
bool is_const_decl = false;
StringName last_name;
bool is_shader_inc = false;