mirror of https://github.com/axmolengine/axmol.git
Merge pull request #989 from NatWeiss/gles20
Fixed a few release-mode Xcode warnings about unused parameters.
This commit is contained in:
commit
c8c696a2df
|
@ -81,6 +81,8 @@ bool CCConfiguration::init(void)
|
|||
|
||||
#if CC_ENABLE_PROFILERS
|
||||
bEnableProfilers = true;
|
||||
#else
|
||||
bEnableProfilers = false;
|
||||
#endif
|
||||
|
||||
CCLOG("cocos2d: compiled with Profiling Support: %s",
|
||||
|
|
|
@ -86,6 +86,7 @@ void CCEGLView::swapBuffers()
|
|||
CCSize CCEGLView::getFrameSize()
|
||||
{
|
||||
assert(false);
|
||||
return CCSizeMake(0, 0);
|
||||
}
|
||||
|
||||
void CCEGLView::setIMEKeyboardState(bool bOpen)
|
||||
|
|
|
@ -426,21 +426,25 @@ bool CCImage::_initWithRawData(void *pData, int nDatalen, int nWidth, int nHeigh
|
|||
bool CCImage::_initWithJpgData(void *pData, int nDatalen)
|
||||
{
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CCImage::_initWithPngData(void *pData, int nDatalen)
|
||||
{
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CCImage::_saveImageToPNG(const char *pszFilePath, bool bIsToRGB)
|
||||
{
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CCImage::_saveImageToJPG(const char *pszFilePath)
|
||||
{
|
||||
assert(0);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CCImage::initWithString(
|
||||
|
|
Loading…
Reference in New Issue