mainloop: call al_convert_memory_bitmaps after gamestate loading

This handles a case where "progress" function hasn't been called
by the gamestate at all.
This commit is contained in:
Sebastian Krzyszkowiak 2019-11-18 09:41:43 +01:00
parent e9d645ecee
commit 08a3c24c56
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -399,8 +399,8 @@ static inline bool MainloopTick(struct Game* game) {
#ifdef __EMSCRIPTEN__
emscripten_sleep(0);
#endif
al_convert_memory_bitmaps();
#endif
al_convert_memory_bitmaps();
al_set_new_bitmap_flags(data.bitmap_flags);