Improve vid_fps stats

This commit is contained in:
Magnus Norddahl 2023-05-06 04:52:56 +02:00
commit ca5fae50d6
3 changed files with 28 additions and 14 deletions

View file

@ -659,6 +659,7 @@ void FStartScreen::Render(bool force)
if (nowtime - screen->FrameTime > 30 || force)
{
screen->FrameTime = nowtime;
screen->FrameTimeNS = I_nsTime();
screen->BeginFrame();
twod->ClearClipRect();
I_GetEvent();