Merge pull request #68513 from Chaosus/fix_shader_param

Fix `Shader::has_parameter` to return a correct value
This commit is contained in:
Rémi Verschelde 2022-11-11 10:54:50 +01:00
commit a2ad59fb8e
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

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 {