issue #2301: m_pTextures --> _pTextures.

This commit is contained in:
James Chen 2013-06-19 13:15:03 +08:00
parent 1eadcd8b38
commit fa6a0d4051
1 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ void CCTextureCacheEmscripten::addImageAsyncCallBack_emscripten(AsyncStruct *dat
#endif
// cache the texture
m_pTextures->setObject(texture, filename);
_pTextures->setObject(texture, filename);
texture->autorelease();
CCObject *target = data->target;
@ -163,7 +163,7 @@ void CCTextureCacheEmscripten::addImageAsync(const char *path, CCObject *target,
// optimization
std::string pathKey = CCFileUtils::sharedFileUtils()->fullPathForFilename(path);
texture = (CCTexture2D*)m_pTextures->objectForKey(pathKey.c_str());
texture = (CCTexture2D*)_pTextures->objectForKey(pathKey.c_str());
std::string fullpath = pathKey;
if (texture != NULL)