mirror of https://github.com/axmolengine/axmol.git
Update Sprite3DTest.cpp
This commit is contained in:
parent
6cd1697240
commit
a5bda44f22
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue