From 5bec3b3ac3da4a76d82822ad218912925a056be2 Mon Sep 17 00:00:00 2001 From: Walzer Date: Sat, 14 Jul 2012 23:44:56 +0800 Subject: [PATCH] CCTextureCache.cpp:L532, tex -> texture --- cocos2dx/textures/CCTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/textures/CCTextureCache.cpp b/cocos2dx/textures/CCTextureCache.cpp index 3f5d25fddd..9945dab479 100644 --- a/cocos2dx/textures/CCTextureCache.cpp +++ b/cocos2dx/textures/CCTextureCache.cpp @@ -529,7 +529,7 @@ CCTexture2D * CCTextureCache::addPVRImage(const char* path) { #if CC_ENABLE_CACHE_TEXTURE_DATA // cache the texture file name - VolatileTexture::addImageTexture(tex, fullpath.c_str(), CCImage::kFmtRawData); + VolatileTexture::addImageTexture(texture, fullpath.c_str(), CCImage::kFmtRawData); #endif m_pTextures->setObject(texture, key.c_str()); texture->autorelease();