Browse Source

Fix syntax parsing error of uniform arrays declaration in shader

Yuri Roubinsky 3 years ago
parent
commit
69ece73653
1 changed files with 0 additions and 4 deletions
  1. 0 4
      servers/rendering/shader_language.cpp

+ 0 - 4
servers/rendering/shader_language.cpp

@@ -7238,10 +7238,6 @@ Error ShaderLanguage::_parse_shader(const Map<StringName, FunctionInfo> &p_funct
 				tk = _get_token();
 
 				if (tk.type == TK_BRACKET_OPEN) {
-					if (uniform) {
-						_set_error(vformat("Uniform arrays are not yet implemented!"));
-						return ERR_PARSE_ERROR;
-					}
 					tk = _get_token();
 
 					if (tk.type == TK_INT_CONSTANT && tk.constant > 0) {