This commit is contained in:
parent
c01cd4eedd
commit
dde10d9636
2 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue