mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-02-01 11:06:44 +01:00
completely unnecessary fix for drawing console at quitting :D
This commit is contained in:
parent
f488b7ffaf
commit
386275b7a7
1 changed files with 3 additions and 1 deletions
|
@ -320,13 +320,15 @@ int main(int argc, char **argv){
|
|||
al_flip_display();
|
||||
}
|
||||
}
|
||||
|
||||
UnloadGameState(&game);
|
||||
if (game.gamestate != GAMESTATE_LOADING) {
|
||||
game.gamestate = GAMESTATE_LOADING;
|
||||
UnloadGameState(&game);
|
||||
}
|
||||
al_clear_to_color(al_map_rgb(0,0,0));
|
||||
PrintConsole(&game, "Shutting down...");
|
||||
DrawConsole(&game);
|
||||
al_flip_display();
|
||||
al_rest(0.1);
|
||||
al_destroy_timer(game.timer);
|
||||
al_destroy_display(game.display);
|
||||
|
|
Loading…
Reference in a new issue