mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
- 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:
parent
a1bdc0582c
commit
7a43d7f78d
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue