- removed all vid_fps offsetting.

To compensate there is now also a "stat fps" which displays the FPS rate in the lower left corner. This had to go because unconditionally altering positions was causing problems with custom HUDs.
This commit is contained in:
Christoph Oelckers 2022-06-05 12:16:56 +02:00
commit e266fb1c16
5 changed files with 49 additions and 55 deletions

View file

@ -421,7 +421,7 @@ namespace swrenderer
/////////////////////////////////////////////////////////////////////////
ADD_STAT(fps)
ADD_STAT(swfps)
{
FString out;
out.Format("frame=%04.1f ms walls=%04.1f ms planes=%04.1f ms masked=%04.1f ms",
@ -432,7 +432,7 @@ namespace swrenderer
static double f_acc, w_acc, p_acc, m_acc;
static int acc_c;
ADD_STAT(fps_accumulated)
ADD_STAT(swfps_accumulated)
{
f_acc += FrameCycles.TimeMS();
w_acc += WallCycles.TimeMS();