From 09f27f1d16c5d309cec517958c9b6733cd9268ad Mon Sep 17 00:00:00 2001 From: "Huabing.Xu" Date: Mon, 18 Nov 2013 10:14:57 +0800 Subject: [PATCH] HotFix: remove Mac platform Image::saveToFile assert --- cocos/2d/platform/CCImageCommon_cpp.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cocos/2d/platform/CCImageCommon_cpp.h b/cocos/2d/platform/CCImageCommon_cpp.h index 33906b16f8..1d28723e4c 100644 --- a/cocos/2d/platform/CCImageCommon_cpp.h +++ b/cocos/2d/platform/CCImageCommon_cpp.h @@ -1793,10 +1793,6 @@ bool Image::saveToFile(const char *pszFilePath, bool bIsToRGB) return false; } -#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC) - assert(false); - return false; -#else bool bRet = false; do @@ -1829,7 +1825,6 @@ bool Image::saveToFile(const char *pszFilePath, bool bIsToRGB) } while (0); return bRet; -#endif } #endif