sergey.pozhidaev Posted July 3, 2015 Posted July 3, 2015 hi, i am using Qt Debugger, in process rises errors with Unigine Assert MessageBox, and debug stops on it, how disable this rises for debug?
maxi Posted July 3, 2015 Posted July 3, 2015 Hi Sergey, Check USE_ASSERT macro which defines assert (source/engine/utils/Base.h). You can use such code to avoid asserts in debug: #ifdef USE_ASSERT #ifdef assert #undef assert #endif #define assert(EXP) (static_cast<void>(0)) #endif
Recommended Posts