Prevent white flash upon starting the game (in Software)

This commit is contained in:
spherallic 2024-03-12 17:29:08 +01:00
parent 373e23dd90
commit 8dce0e1a3f

View file

@ -749,6 +749,8 @@ void D_SRB2Loop(void)
// hack to start on a nice clear console screen.
COM_ImmedExecute("cls;version");
// hack to prevent white flash upon initial window resize
V_DrawFill(0,0,BASEVIDWIDTH,BASEVIDHEIGHT,31);
I_FinishUpdate(); // page flip or blit buffer
/*