This commit is contained in:
Daveo 2001-07-30 14:54:19 +00:00
parent c01cd4eedd
commit dde10d9636
2 changed files with 3 additions and 0 deletions

View File

@ -146,6 +146,7 @@ void CPaulScene::shutdown()
int showDebugLog=false; int showDebugLog=false;
void CPaulScene::render() void CPaulScene::render()
{ {
#if defined(__VERSION_DEBUG__)
if(showDebugLog) if(showDebugLog)
{ {
int logCount; int logCount;
@ -159,6 +160,7 @@ void CPaulScene::render()
y+=charHeight; y+=charHeight;
} }
} }
#endif
} }

View File

@ -115,6 +115,7 @@ typedef enum
void DoAssert(const char * Txt, const char * file, const int line); void DoAssert(const char * Txt, const char * file, const int line);
#define ASSERT(x) if (!(x)) DoAssert(#x,__FILE__,__LINE__); #define ASSERT(x) if (!(x)) DoAssert(#x,__FILE__,__LINE__);
#else #else
#define DbgPollHost() ;
#define ASSERT(x) ; #define ASSERT(x) ;
#endif #endif