summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-15 05:51:54 +0100
committerbunnei <bunneidev@gmail.com>2018-01-15 05:54:56 +0100
commitebd613c2ccfa770caa55bff9e6ca67eee7bca754 (patch)
tree8e55e78102a6d3fa01514e4e01256b209e454945 /src/core/hle
parentUpdate README.md with Travis link. (diff)
downloadyuzu-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 'src/core/hle')
-rw-r--r--src/core/hle/service/vi/vi.cpp5
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;
}