mirror of https://github.com/axmolengine/axmol.git
fixed #750: add comment
This commit is contained in:
parent
aaa16b4a4f
commit
2b2405e2dc
|
@ -364,6 +364,7 @@ CCTexture2D* CCTextureCache::addUIImage(CCImage *image, const char *key)
|
|||
CCAssert(image != NULL && key != NULL, "TextureCache: image MUST not be nill");
|
||||
|
||||
CCTexture2D * texture = NULL;
|
||||
// textureForKey() use full path,so the key should be full path
|
||||
std::string forKey = CCFileUtils::fullPathFromRelativePath(key);
|
||||
|
||||
m_pDictLock->lock();
|
||||
|
|
Loading…
Reference in New Issue