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:
Sebastian Krzyszkowiak 2018-07-06 23:29:16 +02:00
parent dba2ef80da
commit 7a5c2f9ed3

View file

@ -434,6 +434,7 @@ SYMBOL_INTERNAL void libsuperderpy_mainloop(void* g) {
al_convert_memory_bitmaps(); al_convert_memory_bitmaps();
game->_priv.texture_sync = false; game->_priv.texture_sync = false;
al_signal_cond(game->_priv.texture_sync_cond); al_signal_cond(game->_priv.texture_sync_cond);
game->_priv.loading.time = al_get_time();
} }
DrawConsole(game); DrawConsole(game);
al_flip_display(); al_flip_display();