- Set frame-time as close to the buffer swap as possible, and calculate smoothratio for Duke/SW as late as possible.

* Micro-optimisation, but was getting a very occasional jitter in Duke 3D that seems to have gone with this.
This commit is contained in:
Mitchell Richters 2020-08-28 15:27:16 +10:00
parent 0c55c3983c
commit 97feb483ab
4 changed files with 4 additions and 5 deletions

View file

@ -941,7 +941,6 @@ void app_loop()
TickSubsystems();
twod->SetSize(screen->GetWidth(), screen->GetHeight());
twodpsp.SetSize(screen->GetWidth(), screen->GetHeight());
I_SetFrameTime();
handleevents();
updatePauseStatus();