diff options
author | bunnei <bunneidev@gmail.com> | 2018-01-15 05:51:54 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-15 05:54:56 +0100 |
commit | ebd613c2ccfa770caa55bff9e6ca67eee7bca754 (patch) | |
tree | 8e55e78102a6d3fa01514e4e01256b209e454945 /src/core/hle/service/vi/vi.cpp | |
parent | Update README.md with Travis link. (diff) | |
download | yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.gz yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.bz2 yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.lz yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.xz yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.tar.zst yuzu-ebd613c2ccfa770caa55bff9e6ca67eee7bca754.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index d3b63949e..b35a7a377 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp @@ -12,6 +12,8 @@ #include "core/hle/service/nvdrv/nvdrv_a.h" #include "core/hle/service/vi/vi.h" #include "core/hle/service/vi/vi_m.h" +#include "video_core/renderer_base.h" +#include "video_core/video_core.h" namespace Service { namespace VI { @@ -743,7 +745,8 @@ void NVFlinger::Compose() { auto buffer = buffer_queue->AcquireBuffer(); if (buffer == boost::none) { - // There was no queued buffer to draw. + // There was no queued buffer to draw, render previous frame + VideoCore::g_renderer->SwapBuffers({}); continue; } |