- multiply frame measurement by 2.0 to at least divide the total frame render time by half during the load screen

This commit is contained in:
Rachael Alexanderson 2024-03-29 16:08:06 -04:00 committed by Rachael Alexanderson
parent a1bdc0582c
commit 7a43d7f78d

View file

@ -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);