diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-09-26 14:46:22 +0200 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2019-10-05 01:59:49 +0200 |
commit | 976d9ef43c6eb431a1963a2e5857c100eeacd952 (patch) | |
tree | 844b557422b62ac42e8f49117d2409260e351af4 /src/core/hle | |
parent | GPU_Async: Correct fences, display events and more. (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 4 |
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; } |