Skip to content
Snippets Groups Projects
Commit 8dce0e1a authored by sphere's avatar sphere
Browse files

Prevent white flash upon starting the game (in Software)

parent 373e23dd
Branches quick-intro
No related tags found
No related merge requests found
...@@ -749,6 +749,8 @@ void D_SRB2Loop(void) ...@@ -749,6 +749,8 @@ void D_SRB2Loop(void)
// hack to start on a nice clear console screen. // hack to start on a nice clear console screen.
COM_ImmedExecute("cls;version"); 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 I_FinishUpdate(); // page flip or blit buffer
/* /*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment