diff --git a/source/paul/paul.cpp b/source/paul/paul.cpp index 0fc0124f3..e4c1ddbce 100644 --- a/source/paul/paul.cpp +++ b/source/paul/paul.cpp @@ -146,6 +146,7 @@ void CPaulScene::shutdown() int showDebugLog=false; void CPaulScene::render() { +#if defined(__VERSION_DEBUG__) if(showDebugLog) { int logCount; @@ -159,6 +160,7 @@ void CPaulScene::render() y+=charHeight; } } +#endif } diff --git a/source/system/dbg.h b/source/system/dbg.h index d4f1ee911..0054689c6 100644 --- a/source/system/dbg.h +++ b/source/system/dbg.h @@ -115,6 +115,7 @@ typedef enum void DoAssert(const char * Txt, const char * file, const int line); #define ASSERT(x) if (!(x)) DoAssert(#x,__FILE__,__LINE__); #else +#define DbgPollHost() ; #define ASSERT(x) ; #endif