- fix _DEBUG/DEBUG inconsistencies in favour of _DEBUG. Thanks to Carsten Fuchs to point it out!
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@869 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
d54a841f06
commit
76a733e2f4
|
@ -19,7 +19,7 @@ AI_WONT_RETURN void aiAssert(const std::string &message, unsigned int uiLine, co
|
||||||
|
|
||||||
//! \def ai_assert
|
//! \def ai_assert
|
||||||
//! \brief ASSIMP specific assertion test
|
//! \brief ASSIMP specific assertion test
|
||||||
#ifdef DEBUG
|
#ifdef _DEBUG
|
||||||
# define ai_assert(expression) if( !(expression)) Assimp::aiAssert( #expression, __LINE__, __FILE__);
|
# define ai_assert(expression) if( !(expression)) Assimp::aiAssert( #expression, __LINE__, __FILE__);
|
||||||
#else
|
#else
|
||||||
# define ai_assert(expression)
|
# define ai_assert(expression)
|
||||||
|
|
|
@ -214,7 +214,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
# define AI_C_THREADSAFE
|
# define AI_C_THREADSAFE
|
||||||
#endif // !! ASSIMP_BUILD_SINGLETHREADED
|
#endif // !! ASSIMP_BUILD_SINGLETHREADED
|
||||||
|
|
||||||
#if (defined _DEBUG || defined DEBUG) // one of the two should be defined ..
|
#ifdef _DEBUG
|
||||||
# define ASSIMP_BUILD_DEBUG
|
# define ASSIMP_BUILD_DEBUG
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -397,7 +397,6 @@ int CDisplay::AddTextureToDisplayList(unsigned int iType,
|
||||||
unsigned int iMesh /*= 0*/)
|
unsigned int iMesh /*= 0*/)
|
||||||
{
|
{
|
||||||
ai_assert(NULL != szPath);
|
ai_assert(NULL != szPath);
|
||||||
ai_assert(NULL != pcMat);
|
|
||||||
|
|
||||||
char chTemp[512];
|
char chTemp[512];
|
||||||
char chTempEmb[256];
|
char chTempEmb[256];
|
||||||
|
|
Loading…
Reference in New Issue