summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-02-13 01:33:20 +0100
committerLioncash <mathew1800@gmail.com>2019-02-13 01:33:22 +0100
commit86b55cb6df473f083e22043dd04b768a48b8916b (patch)
tree94383cce27f061741ee651451cfefc6ade3978de /src/video_core
parentMerge pull request #2110 from lioncash/namespace (diff)
downloadyuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar.gz
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar.bz2
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar.lz
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar.xz
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.tar.zst
yuzu-86b55cb6df473f083e22043dd04b768a48b8916b.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 843c034e7..cca2ed708 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -107,7 +107,7 @@ RendererOpenGL::~RendererOpenGL() = default;
void RendererOpenGL::SwapBuffers(
std::optional<std::reference_wrapper<const Tegra::FramebufferConfig>> framebuffer) {
- Core::System::GetInstance().GetPerfStats().EndSystemFrame();
+ system.GetPerfStats().EndSystemFrame();
// Maintain the rasterizer's state as a priority
OpenGLState prev_state = OpenGLState::GetCurState();
@@ -137,8 +137,8 @@ void RendererOpenGL::SwapBuffers(
render_window.PollEvents();
- Core::System::GetInstance().FrameLimiter().DoFrameLimiting(Core::Timing::GetGlobalTimeUs());
- Core::System::GetInstance().GetPerfStats().BeginSystemFrame();
+ system.FrameLimiter().DoFrameLimiting(Core::Timing::GetGlobalTimeUs());
+ system.GetPerfStats().BeginSystemFrame();
// Restore the rasterizer state
prev_state.Apply();