Set "shader_param/" prefix in Shader::has_param()

This commit is contained in:
Marcus Brummer 2020-06-04 17:41:10 +02:00
parent c0ff2a388d
commit ffbb211bbe
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ bool Shader::is_text_shader() const {
} }
bool Shader::has_param(const StringName &p_param) const { bool Shader::has_param(const StringName &p_param) const {
return params_cache.has(p_param); return params_cache.has("shader_param/" + p_param);
} }
void Shader::_update_shader() const { void Shader::_update_shader() const {