summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/Render.cpp
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2014-07-13 13:04:25 +0200
committerJules Blok <jules.blok@gmail.com>2014-07-16 20:40:40 +0200
commit3b978f7c27fe2552e5bfb0e97ef9c82580d8a9d9 (patch)
tree571605d673c3ea7f285520c7ea5254bdf56d360e /Source/Core/VideoBackends/OGL/Render.cpp
parent6def4ead01bfcf3b5b12bbb7e16f21217d6088bf (diff)
Turn the FPSCounter namespace into a class.
Diffstat (limited to 'Source/Core/VideoBackends/OGL/Render.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/Render.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp
index a261a28cb6..d0ec359a2c 100644
--- a/Source/Core/VideoBackends/OGL/Render.cpp
+++ b/Source/Core/VideoBackends/OGL/Render.cpp
@@ -36,6 +36,7 @@
#include "VideoCommon/BPStructs.h"
#include "VideoCommon/DriverDetails.h"
#include "VideoCommon/Fifo.h"
+#include "VideoCommon/FPSCounter.h"
#include "VideoCommon/ImageWrite.h"
#include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/PixelEngine.h"
@@ -335,7 +336,6 @@ Renderer::Renderer()
OSDInternalW = 0;
OSDInternalH = 0;
- s_fps=0;
s_ShowEFBCopyRegions_VBO = 0;
s_blendMode = 0;
@@ -683,7 +683,7 @@ void Renderer::DrawDebugInfo()
std::string debug_info;
if (g_ActiveConfig.bShowFPS)
- debug_info += StringFromFormat("FPS: %d\n", s_fps);
+ debug_info += StringFromFormat("FPS: %d\n", m_fps_counter.m_fps);
if (SConfig::GetInstance().m_ShowLag)
debug_info += StringFromFormat("Lag: %" PRIu64 "\n", Movie::g_currentLagCount);