summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-12 15:52:44 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-03-12 15:52:44 +0100
commit95b804ff0565a653109c1a7f7326eecc838fee5c (patch)
tree75f3592c0f72be78fff8d65e06aed15f109104df
parentMicroprofile: Allow accessing token. (diff)
downloadyuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar.gz
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar.bz2
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar.lz
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar.xz
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.tar.zst
yuzu-95b804ff0565a653109c1a7f7326eecc838fee5c.zip
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 134152210..437bc5dee 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -191,8 +191,6 @@ void NVFlinger::Compose() {
// Search for a queued buffer and acquire it
auto buffer = buffer_queue.AcquireBuffer();
- MicroProfileFlip();
-
if (!buffer) {
continue;
}
@@ -206,6 +204,8 @@ void NVFlinger::Compose() {
gpu.WaitFence(fence.id, fence.value);
}
+ MicroProfileFlip();
+
// Now send the buffer to the GPU for drawing.
// TODO(Subv): Support more than just disp0. The display device selection is probably based
// on which display we're drawing (Default, Internal, External, etc)