Merge pull request #46984 from sboronczyk/fix-shader-issue

Vulkan: Fix crash when opening a ShaderMaterial with code saved as an external .shader file
This commit is contained in:
Rémi Verschelde 2021-03-16 23:32:06 +01:00 committed by GitHub
commit 9ca0d66a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ public:
FUNC2(shader_set_code, RID, const String &)
FUNC1RC(String, shader_get_code, RID)
FUNC2C(shader_get_param_list, RID, List<PropertyInfo> *)
FUNC2SC(shader_get_param_list, RID, List<PropertyInfo> *)
FUNC3(shader_set_default_texture_param, RID, const StringName &, RID)
FUNC2RC(RID, shader_get_default_texture_param, RID, const StringName &)