fixed #1224: Wrote some comments in CCParticleSystem.

This commit is contained in:
James Chen 2012-05-23 11:26:21 +08:00
parent f7ffdd757c
commit d5f52335d5
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ bool CCParticleSystem::initWithDictionary(CCDictionary *dictionary)
CCAssert( deflated != NULL, "CCParticleSystem: error ungzipping textureImageData");
CC_BREAK_IF(!deflated);
// don't delete image, VolatileTexture use it in CCTextureCache::sharedTextureCache()->addUIImage()
// For android, we should retain it in VolatileTexture::addCCImage which invoked in CCTextureCache::sharedTextureCache()->addUIImage()
image = new CCImage();
bool isOK = image->initWithImageData(deflated, deflatedLen);
CCAssert(isOK, "CCParticleSystem: error init image with Data");