From 1f5611ae053311d3fe5bbfe13c1d08acb9a9adf4 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 24 Dec 2013 18:23:36 +0800 Subject: [PATCH] =?UTF-8?q?Adds=20missing=20=E2=80=98)=E2=80=99.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cocos/2d/CCTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/2d/CCTextureCache.cpp b/cocos/2d/CCTextureCache.cpp index d840a2e093..e1c160f101 100644 --- a/cocos/2d/CCTextureCache.cpp +++ b/cocos/2d/CCTextureCache.cpp @@ -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);