Kaynağa Gözat

allow relwdebug leak tracing
use TORQUE_ENABLE_ASSERTS, not just DEBUG for a filter

AzaezelX 4 ay önce
ebeveyn
işleme
c160401c72
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      Engine/source/main/main.cpp

+ 2 - 2
Engine/source/main/main.cpp

@@ -231,7 +231,7 @@ S32 TorqueMain(S32 argc, const char **argv)
    //      argv = argvFake;
    //   }
 
-#if defined( TORQUE_DEBUG ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
+#if defined( TORQUE_ENABLE_ASSERTS ) && !defined(TORQUE_DISABLE_MEMORY_MANAGER)
    Memory::init();
 #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();
 #endif