1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-09 12:50:35 +00:00

Fix the update logic for user-added custom defines.

The previous logic was causing the (unintentional) removal of custom defines automatically added by the engine.
This commit is contained in:
Fredia Huya-Kouadio
2020-09-06 21:31:09 -07:00
parent 13e2e487a2
commit 0af5cded1e
13 changed files with 29 additions and 32 deletions

View File

@@ -192,7 +192,7 @@ public:
BIND2(shader_add_custom_define, RID, const String &)
BIND2C(shader_get_custom_defines, RID, Vector<String> *)
BIND1(shader_clear_custom_defines, RID)
BIND2(shader_remove_custom_define, RID, const String &)
/* COMMON MATERIAL API */