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