Fix Shader::has_parameter
to return a correct value
This commit is contained in:
parent
dca5cb8e40
commit
9d4816fd4a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue