Hi Cocos team!
I’m using cc.textureCache.addImage()
to load Http image link into SpriteFrame. I’t working fine on first time.
When I use cc.textureCache.removeTextureForKey()
to remove image, texture cached. But when I use cc.textureCache.addImage()
again and got an error: Failed to execute ‘texImage2D’ on ‘WebGLRenderingContext’: No function was found that matched the signature provided.
What wrong when I use cc.textureCache.removeTextureForKey
to remove cache and How can I manage image I have been loaded righ way?
Thanks!