CCTextureCache.cpp:L532, tex -> texture

This commit is contained in:
Walzer 2012-07-14 23:44:56 +08:00
parent 1fd0fd7967
commit 5bec3b3ac3
1 changed files with 1 additions and 1 deletions

View File

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