فهرست منبع

Disable Bullet's built-in profiler, as the results are not being used.

Lasse Öörni 11 سال پیش
والد
کامیت
02c595c8b7
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      Source/ThirdParty/Bullet/src/LinearMath/btQuickprof.h

+ 2 - 1
Source/ThirdParty/Bullet/src/LinearMath/btQuickprof.h

@@ -16,7 +16,8 @@
 #define BT_QUICK_PROF_H
 #define BT_QUICK_PROF_H
 
 
 //To disable built-in profiling, please comment out next line
 //To disable built-in profiling, please comment out next line
-//#define BT_NO_PROFILE 1
+// Urho3D: disable profiling, as Urho has its own hierarchic profiler
+#define BT_NO_PROFILE 1
 #ifndef BT_NO_PROFILE
 #ifndef BT_NO_PROFILE
 #include <stdio.h>//@todo remove this, backwards compatibility
 #include <stdio.h>//@todo remove this, backwards compatibility
 #include "btScalar.h"
 #include "btScalar.h"