Skip to content

Commit ce063c5

Browse files
authored
Log frame names instead of hash values in the call to removeUnusedSpriteFrames() (#2450)
Log frame name
1 parent ec8eebd commit ce063c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/2d/SpriteFrameCache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ void SpriteFrameCache::removeUnusedSpriteFrames()
167167
{
168168
toRemoveFrames.emplace_back(iter.first);
169169
spriteFrame->getTexture()->removeSpriteFrameCapInset(spriteFrame);
170-
AXLOGD("SpriteFrameCache: removing unused frame: {}", iter.first);
170+
AXLOGD("SpriteFrameCache: removing unused frame: {}", spriteFrame->getName());
171171
removed = true;
172172
}
173173
}

0 commit comments

Comments
 (0)