Minor refactor and fixes
This commit is contained in:
parent
5175c9be92
commit
a62fc5c4e0
@ -93,9 +93,9 @@ void Engine::mainloop() {
|
|||||||
updateTimers();
|
updateTimers();
|
||||||
updateHotkeys();
|
updateHotkeys();
|
||||||
|
|
||||||
|
gui->act(delta);
|
||||||
screen->update(delta);
|
screen->update(delta);
|
||||||
screen->draw(delta);
|
screen->draw(delta);
|
||||||
gui->act(delta);
|
|
||||||
gui->draw(&batch, assets);
|
gui->draw(&batch, assets);
|
||||||
|
|
||||||
Window::swapBuffers();
|
Window::swapBuffers();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user