From 7a43d7f78dbf656decd698be0269e984a3fbedeb Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 29 Mar 2024 16:08:06 -0400 Subject: [PATCH] - multiply frame measurement by 2.0 to at least divide the total frame render time by half during the load screen --- src/common/startscreen/startscreen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/startscreen/startscreen.cpp b/src/common/startscreen/startscreen.cpp index dd8efc965..56afb59b4 100644 --- a/src/common/startscreen/startscreen.cpp +++ b/src/common/startscreen/startscreen.cpp @@ -692,8 +692,8 @@ void FStartScreen::Render(bool force) twod->OnFrameDone(); } auto newtime = I_msTime(); - if (newtime - nowtime > minwaittime) // slow down drawing the start screen if we're on a slow GPU! - minwaittime = (newtime - nowtime); + if ((newtime - nowtime) * 2.0 > minwaittime) // slow down drawing the start screen if we're on a slow GPU! + minwaittime = (newtime - nowtime) * 2.0; } FImageSource* CreateStartScreenTexture(FBitmap& srcdata);