You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +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:
@@ -244,7 +244,7 @@ public:
|
||||
|
||||
virtual void shader_add_custom_define(RID p_shader, const String &p_define) = 0;
|
||||
virtual void shader_get_custom_defines(RID p_shader, Vector<String> *p_defines) const = 0;
|
||||
virtual void shader_clear_custom_defines(RID p_shader) = 0;
|
||||
virtual void shader_remove_custom_define(RID p_shader, const String &p_define) = 0;
|
||||
|
||||
/* COMMON MATERIAL API */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user