From 38357c86c4ff897a1024c1f59c6ed6a660965fde Mon Sep 17 00:00:00 2001 From: rachytski Date: Wed, 12 Oct 2011 18:09:05 +0300 Subject: [PATCH] drawing currentScale instead of FPS/SPF in Debug mode. --- map/information_display.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/map/information_display.cpp b/map/information_display.cpp index 967106e3f6..94d878223d 100644 --- a/map/information_display.cpp +++ b/map/information_display.cpp @@ -175,11 +175,13 @@ void InformationDisplay::setDebugInfo(double frameDuration, int currentScale) void InformationDisplay::drawDebugInfo(DrawerYG * drawer) { ostringstream out; - out << "SPF: " << m_frameDuration; + out << "Scale : " << m_currentScale; + +/* out << "SPF: " << m_frameDuration; if (m_frameDuration == 0.0) out << " FPS: inf"; else - out << " FPS: " << 1.0 / m_frameDuration; + out << " FPS: " << 1.0 / m_frameDuration;*/ m_yOffset += 20;