diff options
author | James Rowe <jroweboy@gmail.com> | 2018-02-14 18:16:39 +0100 |
---|---|---|
committer | James Rowe <jroweboy@gmail.com> | 2018-02-14 18:16:39 +0100 |
commit | 61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e (patch) | |
tree | 42e453b7c1f85e60a222a7e66295d53f809df7fe /src/core/hle/service/nvflinger | |
parent | Merge pull request #190 from bunnei/fix-qt-waittree (diff) | |
download | yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar.gz yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar.bz2 yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar.lz yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar.xz yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.tar.zst yuzu-61c39f0fdd786bffc79cfabc4a1d9ac9f0af480e.zip |
Diffstat (limited to 'src/core/hle/service/nvflinger')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp index 2089462b7..a54239b0f 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -6,6 +6,7 @@ #include "common/alignment.h" #include "common/scope_exit.h" +#include "core/core.h" #include "core/core_timing.h" #include "core/hle/service/nvdrv/devices/nvdisp_disp0.h" #include "core/hle/service/nvdrv/nvdrv.h" @@ -129,6 +130,7 @@ void NVFlinger::Compose() { if (buffer == boost::none) { // There was no queued buffer to draw, render previous frame + Core::System::GetInstance().perf_stats.EndGameFrame(); VideoCore::g_renderer->SwapBuffers({}); continue; } |