Update Sprite3DTest.cpp

This commit is contained in:
zhukaixy 2015-03-27 16:47:48 +08:00
parent 6cd1697240
commit a5bda44f22
1 changed files with 1 additions and 1 deletions

View File

@ -2461,6 +2461,6 @@ void Sprite3DCubeMapTest::addNewSpriteWithCoords(Vec2 p)
_skyBox->reload();
_skyBox->setTexture(_textureCube);
});
Director::getInstance()->getEventDispatcher()->addEventListenerWithFixedPriority(_backToForegroundListener, -1);
Director::getInstance()->getEventDispatcher()->addEventListenerWithFixedPriority(_backToForegroundListener, 1);
#endif
}