Merge pull request #4291 from dabingnn/develop_hotFix

[ci skip]HotFix: remove Mac platform Image::saveToFile assert
This commit is contained in:
minggo 2013-11-17 20:57:47 -08:00
commit 5e4b3c6919
1 changed files with 0 additions and 5 deletions

View File

@ -1793,10 +1793,6 @@ bool Image::saveToFile(const char *pszFilePath, bool bIsToRGB)
return false; return false;
} }
#if (CC_TARGET_PLATFORM == CC_PLATFORM_MAC)
assert(false);
return false;
#else
bool bRet = false; bool bRet = false;
do do
@ -1829,7 +1825,6 @@ bool Image::saveToFile(const char *pszFilePath, bool bIsToRGB)
} while (0); } while (0);
return bRet; return bRet;
#endif
} }
#endif #endif