From 8dce0e1a3f58c5f5d77cd227bc6f92ebfded5f0c Mon Sep 17 00:00:00 2001 From: spherallic <spherallic@gmail.com> Date: Tue, 12 Mar 2024 17:29:08 +0100 Subject: [PATCH] Prevent white flash upon starting the game (in Software) --- src/d_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/d_main.c b/src/d_main.c index 46e64267e9..41c8e63360 100644 --- a/src/d_main.c +++ b/src/d_main.c @@ -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 /* -- GitLab