Update commented out code to test for memory leaks.

This commit is contained in:
NathanSweet 2013-12-05 19:03:42 +01:00
parent 992ebc3706
commit 54ae334637

View File

@ -49,7 +49,7 @@ bool ExampleLayer::init () {
void ExampleLayer::update (float deltaTime) {
// Test releasing memory.
// if (entry->time > 0.1) CCDirector::sharedDirector()->replaceScene(ExampleLayer::scene());
// CCDirector::sharedDirector()->replaceScene(ExampleLayer::scene());
}
void ExampleLayer::animationStateEvent (CCSkeletonAnimation* node, int trackIndex, spEventType type, spEvent* event, int loopCount) {