Skip to content

Commit

Permalink
Merge pull request #46984 from sboronczyk/fix-shader-issue
Browse files Browse the repository at this point in the history
Vulkan: Fix crash when opening a ShaderMaterial with code saved as an external .shader file
  • Loading branch information
akien-mga authored Mar 16, 2021
2 parents d06a624 + 3e7c5d2 commit 9ca0d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion servers/rendering/rendering_server_default.h
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class RenderingServerDefault : public RenderingServer {
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 &)
Expand Down

0 comments on commit 9ca0d66

Please sign in to comment.