fixed #750: add comment

This commit is contained in:
minggo 2011-10-13 10:56:02 +08:00
parent aaa16b4a4f
commit 2b2405e2dc
1 changed files with 1 additions and 0 deletions

View File

@ -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();