gdscript: Only include profiling variables when DEBUG is enabled
This commit is contained in:
parent
88f3b5f9d5
commit
f489c313cc
2 changed files with 5 additions and 0 deletions
|
|
@ -459,9 +459,11 @@ class GDScriptLanguage : public ScriptLanguage {
|
|||
friend class GDScriptFunction;
|
||||
|
||||
SelfList<GDScriptFunction>::List function_list;
|
||||
#ifdef DEBUG_ENABLED
|
||||
bool profiling;
|
||||
bool profile_native_calls;
|
||||
uint64_t script_frame_time;
|
||||
#endif
|
||||
|
||||
HashMap<String, ObjectID> orphan_subclasses;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue