summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-03-16 23:32:06 +0100
committerGitHub <noreply@github.com>2021-03-16 23:32:06 +0100
commit9ca0d66a3b51084eb528a85e133d9037b21bdd09 (patch)
tree16e446b8961c2a9fcad28794f696e2507b72917e
parentd06a624a2d3278807dcd83f579fd67eb0463d3af (diff)
parent3e7c5d2ca5adecd0109bc77eb7b4165a8aa5e646 (diff)
Merge pull request #46984 from sboronczyk/fix-shader-issue
Vulkan: Fix crash when opening a ShaderMaterial with code saved as an external .shader file
-rw-r--r--servers/rendering/rendering_server_default.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/rendering_server_default.h b/servers/rendering/rendering_server_default.h
index c6be07a3de..e82d5cc3f8 100644
--- a/servers/rendering/rendering_server_default.h
+++ b/servers/rendering/rendering_server_default.h
@@ -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 &)