mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Update commented out code to test for memory leaks.
This commit is contained in:
parent
992ebc3706
commit
54ae334637
@ -49,7 +49,7 @@ bool ExampleLayer::init () {
|
|||||||
|
|
||||||
void ExampleLayer::update (float deltaTime) {
|
void ExampleLayer::update (float deltaTime) {
|
||||||
// Test releasing memory.
|
// 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) {
|
void ExampleLayer::animationStateEvent (CCSkeletonAnimation* node, int trackIndex, spEventType type, spEvent* event, int loopCount) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user