summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-30 16:50:54 +0200
committerLioncash <mathew1800@gmail.com>2018-08-31 13:16:57 +0200
commite2457418dae19b889b2ad85255bb95d4cd0e4bff (patch)
tree76ad194f1cc1933f7907223dbb2542b3614576e5 /src/core/hle/service/nvflinger/nvflinger.cpp
parentMerge pull request #1198 from lioncash/kernel (diff)
downloadyuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.gz
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.bz2
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.lz
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.xz
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.tar.zst
yuzu-e2457418dae19b889b2ad85255bb95d4cd0e4bff.zip
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 3996c24fe..06040da6f 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -17,6 +17,7 @@
#include "core/hle/service/nvdrv/nvdrv.h"
#include "core/hle/service/nvflinger/buffer_queue.h"
#include "core/hle/service/nvflinger/nvflinger.h"
+#include "core/perf_stats.h"
#include "video_core/renderer_base.h"
#include "video_core/video_core.h"
@@ -137,7 +138,7 @@ void NVFlinger::Compose() {
auto& system_instance = Core::System::GetInstance();
// There was no queued buffer to draw, render previous frame
- system_instance.perf_stats.EndGameFrame();
+ system_instance.GetPerfStats().EndGameFrame();
system_instance.Renderer().SwapBuffers({});
continue;
}