summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-09-26 14:46:22 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-05 01:59:49 +0200
commit976d9ef43c6eb431a1963a2e5857c100eeacd952 (patch)
tree844b557422b62ac42e8f49117d2409260e351af4
parentGPU_Async: Correct fences, display events and more. (diff)
downloadyuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar.gz
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar.bz2
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar.lz
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar.xz
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.tar.zst
yuzu-976d9ef43c6eb431a1963a2e5857c100eeacd952.zip
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 86a90526c..3c08ac9a3 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -203,7 +203,9 @@ void NVFlinger::Compose() {
if (!buffer) {
// There was no queued buffer to draw, render previous frame
- system.GPU().SwapBuffers({});
+ auto& gpu = system.GPU();
+ // Always trigger on sync GPU.
+ trigger_event = !gpu.IsAsync();
continue;
}