summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2017-06-30 17:25:32 +1000
committerStenzek <stenzek@gmail.com>2017-07-30 12:38:48 +1000
commit621287e7ebe7716f7b0d074e60953848a0ae86a7 (patch)
tree2c5ae46b058e6ba54489420ea8e06c89bac37163 /Source/Core/VideoCommon/RenderBase.cpp
parent1fccbd5be3cc3c938a325d0f9401cc1a56e68e29 (diff)
VideoCommon: Improve precision of FPS counter
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
-rw-r--r--Source/Core/VideoCommon/RenderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp
index 45e2006cb6..9f425e4cd2 100644
--- a/Source/Core/VideoCommon/RenderBase.cpp
+++ b/Source/Core/VideoCommon/RenderBase.cpp
@@ -337,7 +337,7 @@ void Renderer::DrawDebugText()
if (g_ActiveConfig.bShowFPS || SConfig::GetInstance().m_ShowFrameCount)
{
if (g_ActiveConfig.bShowFPS)
- final_cyan += StringFromFormat("FPS: %u", m_fps_counter.GetFPS());
+ final_cyan += StringFromFormat("FPS: %.2f", m_fps_counter.GetFPS());
if (g_ActiveConfig.bShowFPS && SConfig::GetInstance().m_ShowFrameCount)
final_cyan += " - ";