diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index eac356cac..49c52064b 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -293,8 +293,6 @@ CClient::CClient() : DemoRecorder = CDemoRecorder(&m_SnapshotDelta); m_RenderFrameTime = 0.0001f; - m_RenderFrameTimeLow = 1.0f; - m_RenderFrameTimeHigh = 0.0f; m_RenderFrames = 0; m_LastRenderTime = time_get(); @@ -3238,10 +3236,6 @@ void CClient::Run() // update frametime m_RenderFrameTime = (Now - m_LastRenderTime) / (float)time_freq(); - if(m_RenderFrameTime < m_RenderFrameTimeLow) - m_RenderFrameTimeLow = m_RenderFrameTime; - if(m_RenderFrameTime > m_RenderFrameTimeHigh) - m_RenderFrameTimeHigh = m_RenderFrameTime; m_FpsGraph.Add(1.0f / m_RenderFrameTime, 1, 1, 1); if(m_BenchmarkFile) diff --git a/src/engine/client/client.h b/src/engine/client/client.h index 4f4a78ca1..f929619fc 100644 --- a/src/engine/client/client.h +++ b/src/engine/client/client.h @@ -149,8 +149,6 @@ class CClient : public IClient, public CDemoPlayer::IListener IGraphics::CTextureHandle m_DebugFont; int64_t m_LastRenderTime; - float m_RenderFrameTimeLow; - float m_RenderFrameTimeHigh; int m_RenderFrames; int m_SnapCrcErrors;