From b7ca4656b62bf1a3eeb1bbbebbff092cb0ce3fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Pri=CC=81davok?= Date: Thu, 28 Feb 2013 16:17:49 +0100 Subject: [PATCH] Flush log messages. --- cocos2dx/platform/mac/CCCommon.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2dx/platform/mac/CCCommon.mm b/cocos2dx/platform/mac/CCCommon.mm index 81d57001f0..8cfbeeba20 100755 --- a/cocos2dx/platform/mac/CCCommon.mm +++ b/cocos2dx/platform/mac/CCCommon.mm @@ -43,6 +43,7 @@ void CCLog(const char * pszFormat, ...) va_end(ap); printf("%s", szBuf); printf("\n"); + fflush(stdout); } void CCLuaLog(const char * pszFormat)