diff --git a/cocos2dx/particle_nodes/CCParticleExamples.cpp b/cocos2dx/particle_nodes/CCParticleExamples.cpp index c33c2a41a2..465e4af325 100644 --- a/cocos2dx/particle_nodes/CCParticleExamples.cpp +++ b/cocos2dx/particle_nodes/CCParticleExamples.cpp @@ -41,8 +41,8 @@ static Texture2D* getDefaultTexture() do { bool bRet = false; - const char* key = "__firePngData"; - texture = TextureCache::getInstance()->textureForKey(key); + const char* key = "/__firePngData"; + texture = TextureCache::getInstance()->getTextureForKey(key); CC_BREAK_IF(texture != NULL); pImage = new Image();