diff --git a/cocos2dx/platform/ios/CCES2Renderer.m b/cocos2dx/platform/ios/CCES2Renderer.m index 9b8274e6b2..52b6d2a01d 100644 --- a/cocos2dx/platform/ios/CCES2Renderer.m +++ b/cocos2dx/platform/ios/CCES2Renderer.m @@ -33,6 +33,10 @@ #import "CCES2Renderer.h" #import "OpenGL_Internal.h" +#if !defined(COCOS2D_DEBUG) || COCOS2D_DEBUG == 0 +#define NSLog(...) do {} while (0) +#endif + @implementation CCES2Renderer @synthesize context=context_;