Merge pull request #989 from NatWeiss/gles20

Fixed a few release-mode Xcode warnings about unused parameters.
This commit is contained in:
minggo 2012-06-09 03:13:22 -07:00
commit c8c696a2df
3 changed files with 7 additions and 0 deletions

View File

@ -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",

View File

@ -86,6 +86,7 @@ void CCEGLView::swapBuffers()
CCSize CCEGLView::getFrameSize()
{
assert(false);
return CCSizeMake(0, 0);
}
void CCEGLView::setIMEKeyboardState(bool bOpen)

View File

@ -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(