diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-31 17:31:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-31 17:31:20 +0200 |
commit | f08d24e9c0a8dd7920ca5db5a5765b867eb1d714 (patch) | |
tree | f2b144f08f5881d4e1174d9eb0184cf6548f20ce /src/core/hle/service/nvflinger/nvflinger.cpp | |
parent | Merge pull request #1207 from degasus/hotfix (diff) | |
parent | core: Make the main System class use the PImpl idiom (diff) | |
download | yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.gz yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.bz2 yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.lz yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.xz yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.tar.zst yuzu-f08d24e9c0a8dd7920ca5db5a5765b867eb1d714.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 3 |
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; } |