mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2025-03-04 09:11:27 +01:00
loading: stop time in loading when converting memory bitmaps
Avoids annoying framedrops, just stops the animation for a while instead.
This commit is contained in:
parent
dba2ef80da
commit
7a5c2f9ed3
1 changed files with 1 additions and 0 deletions
|
@ -434,6 +434,7 @@ SYMBOL_INTERNAL void libsuperderpy_mainloop(void* g) {
|
|||
al_convert_memory_bitmaps();
|
||||
game->_priv.texture_sync = false;
|
||||
al_signal_cond(game->_priv.texture_sync_cond);
|
||||
game->_priv.loading.time = al_get_time();
|
||||
}
|
||||
DrawConsole(game);
|
||||
al_flip_display();
|
||||
|
|
Loading…
Add table
Reference in a new issue