Adds missing ‘)’.

This commit is contained in:
James Chen 2013-12-24 18:23:36 +08:00
parent 0ff85852cc
commit 1f5611ae05
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ void VolatileTextureMgr::reloadAllTextures()
Data data = FileUtils::getInstance()->getDataFromFile(vt->_fileName);
if (image && image->initWithImageData(data->getBytes(), data->getSize())
if (image && image->initWithImageData(data->getBytes(), data->getSize()))
{
Texture2D::PixelFormat oldPixelFormat = Texture2D::getDefaultAlphaPixelFormat();
Texture2D::setDefaultAlphaPixelFormat(vt->_pixelFormat);