Merge pull request #9543 from tjunxin/patch-1

comment line 83
This commit is contained in:
minggo 2014-12-19 10:04:14 +08:00
commit 627e5dacfc
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ void GLProgramStateCache::removeUnusedGLProgramState()
if( value->getReferenceCount() == 1 ) { if( value->getReferenceCount() == 1 ) {
CCLOG("cocos2d: GLProgramStateCache: removing unused GLProgramState"); CCLOG("cocos2d: GLProgramStateCache: removing unused GLProgramState");
value->release(); //value->release();
_glProgramStates.erase(it++); _glProgramStates.erase(it++);
} else { } else {
++it; ++it;