Merge pull request #68513 from Chaosus/fix_shader_param
Fix `Shader::has_parameter` to return a correct value
This commit is contained in:
commit
a2ad59fb8e
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue