mirror of https://github.com/axmolengine/axmol.git
Merge pull request #4291 from dabingnn/develop_hotFix
[ci skip]HotFix: remove Mac platform Image::saveToFile assert
This commit is contained in:
commit
5e4b3c6919
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue