瀏覽代碼

Update commented out code to test for memory leaks.

NathanSweet 11 年之前
父節點
當前提交
54ae334637
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      spine-cocos2dx/example/Classes/ExampleLayer.cpp

+ 1 - 1
spine-cocos2dx/example/Classes/ExampleLayer.cpp

@@ -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) {