Jump to content

[SOLVED] Unigine Debug Assertion


photo

Recommended Posts

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?

Link to comment

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
Link to comment
×
×
  • Create New...