moved underlay and state 2d objects after smush frame
This commit is contained in:
parent
5ed42ed0fe
commit
fbf6dcbed8
1 changed files with 5 additions and 2 deletions
|
@ -121,8 +121,6 @@ void Engine::mainLoop() {
|
||||||
|
|
||||||
if (currScene_ != NULL) {
|
if (currScene_ != NULL) {
|
||||||
currScene_->drawBackground();
|
currScene_->drawBackground();
|
||||||
currScene_->drawBitmaps(ObjectState::OBJSTATE_UNDERLAY);
|
|
||||||
currScene_->drawBitmaps(ObjectState::OBJSTATE_STATE);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_smush->isPlaying()) {
|
if (g_smush->isPlaying()) {
|
||||||
|
@ -135,6 +133,11 @@ void Engine::mainLoop() {
|
||||||
g_driver->drawSmushFrame(g_smush->getX(), g_smush->getY());
|
g_driver->drawSmushFrame(g_smush->getX(), g_smush->getY());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (currScene_ != NULL) {
|
||||||
|
currScene_->drawBitmaps(ObjectState::OBJSTATE_UNDERLAY);
|
||||||
|
currScene_->drawBitmaps(ObjectState::OBJSTATE_STATE);
|
||||||
|
}
|
||||||
|
|
||||||
g_driver->set3DMode();
|
g_driver->set3DMode();
|
||||||
|
|
||||||
if (currScene_ != NULL)
|
if (currScene_ != NULL)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue