We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
CCTextureCache::removeTextureForKey(const char *textureKeyName) not work as expected
CCTextureCache::removeTextureForKey(const char *textureKeyName) not work as expected
Bug #552 [Closed]
Applied in changeset commit:40e101b03b56f061e68f6c764dc16d36a56c7bd4.
- Status changed from Resolved to Closed
- Project changed from cocos2d-x to cpp
- Category deleted (
5) - Target version deleted (
cocos2d-1.0.0-x-0.9.0)
Status: | Closed | |
---|---|---|
Start date: | 2011-06-30 | |
Priority: | Normal | |
Due date: | ||
Assignee: | zhangbin@cocos2d-x.org | |
% Done: | 100% |
|
Category: | - | |
Target version: | - |
The parameter passed in the function always be relative path of image file.
But CCTextureCache cache the textures with full path of image file as the key. So it’s not work as expected.