From 0cfb47e6419f9e8af8f319093193d344275ac3d4 Mon Sep 17 00:00:00 2001 From: Kayne Ruse Date: Tue, 4 Jun 2013 21:28:00 +1000 Subject: [PATCH] Fixed FPS counter --- client/test_systems.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/test_systems.cpp b/client/test_systems.cpp index d7ec323..f6c6e23 100644 --- a/client/test_systems.cpp +++ b/client/test_systems.cpp @@ -40,7 +40,7 @@ TestSystems::~TestSystems() { //------------------------- void TestSystems::FrameStart() { - FrameRate::Calculate(); + // } void TestSystems::Update(double delta) { @@ -59,6 +59,7 @@ string IToS(int i) { } void TestSystems::Render(SDL_Surface* const screen) { + FrameRate::Calculate(); playerMgr.DrawAllTo(screen); font.DrawStringTo("FPS: " + IToS(FrameRate::GetFrameRate()), screen, 16, 16); }