mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
allow relwdebug leak tracing
use TORQUE_ENABLE_ASSERTS, not just DEBUG for a filter
This commit is contained in:
parent
e2faa8c49c
commit
c160401c72
1 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ S32 TorqueMain(S32 argc, const char **argv)
|
||||||
// argv = argvFake;
|
// argv = argvFake;
|
||||||
// }
|
// }
|
||||||
|
|
||||||
#if defined( TORQUE_DEBUG ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
#if defined( TORQUE_ENABLE_ASSERTS ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
|
||||||
Memory::init();
|
Memory::init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -258,7 +258,7 @@ S32 TorqueMain(S32 argc, const char **argv)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined( TORQUE_DEBUG ) && !defined( TORQUE_DISABLE_MEMORY_MANAGER )
|
#if defined( TORQUE_ENABLE_ASSERTS ) && !defined( TORQUE_DISABLE_MEMORY_MANAGER )
|
||||||
Memory::shutdown();
|
Memory::shutdown();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue