mirror of https://github.com/axmolengine/axmol.git
CCTextureCache.cpp:L532, tex -> texture
This commit is contained in:
parent
1fd0fd7967
commit
5bec3b3ac3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue