mirror of https://github.com/axmolengine/axmol.git
Merge pull request #3708 from dumganhar/iss2087-new-event-dispatcher
issue #2087: Fixing NewEventDispatcherTest --> SpriteAccelerationEventTest crash.
This commit is contained in:
commit
302bdbbe8f
|
@ -526,6 +526,7 @@ _pos = _max; \
|
|||
void SpriteAccelerationEventTest::onExit()
|
||||
{
|
||||
Device::setAccelerometerEnabled(false);
|
||||
EventDispatcherTestDemo::onExit();
|
||||
}
|
||||
|
||||
std::string SpriteAccelerationEventTest::title()
|
||||
|
|
Loading…
Reference in New Issue