Skip to content

Commit

Permalink
- multiply frame measurement by 2.0 to at least divide the total fram…
Browse files Browse the repository at this point in the history
…e render time by half during the load screen
  • Loading branch information
madame-rachelle committed Mar 30, 2024
1 parent a1bdc05 commit 7a43d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/startscreen/startscreen.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7a43d7f

Please sign in to comment.