Fix Shader::has_parameter to return a correct value

This commit is contained in:
Yuri Rubinsky 2022-11-11 11:27:32 +03:00
parent dca5cb8e40
commit 9d4816fd4a

View File

@ -177,7 +177,7 @@ bool Shader::is_text_shader() const {
}
bool Shader::has_parameter(const StringName &p_name) const {
return params_cache.has("shader_parameter/" + p_name);
return params_cache.has(p_name);
}
void Shader::_update_shader() const {