Make the game loading-bar miniwindow do OS polling, to allow you to tab back into it without it being considered frozen by the OS.

This commit is contained in:
toaster 2021-11-28 20:15:42 +00:00
parent 17b3cd205e
commit ba3e896655

View file

@ -1916,6 +1916,8 @@ void CON_SetLoadingProgress(con_loadprogress_t newStep)
if (con_startup_loadprogress < LOADED_ISTARTUPGRAPHICS) // rendering not possible?
return;
CON_DrawLoadBar(); // here we display the console text
I_OsPolling();
I_UpdateNoBlit();
I_FinishUpdate(); // page flip or blit buffer
}