aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-19 21:52:08 -0700
committerbunnei <bunneidev@gmail.com>2022-03-24 18:13:33 -0700
commit650c9d0d627b1c926a07d82d0248f283ccbd8a1b (patch)
tree645d5594c010ab7ee1a334ba1ff1176c465c6798 /src/core/hle/service/nvflinger/nvflinger.cpp
parentca12a77670d1463c2257bcdd829bb9bc56f1461b (diff)
hle: nvflinger: Use std::chrono for present_ns.
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index e21dc902a..76ce1fbfd 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -240,7 +240,7 @@ void NVFlinger::Compose() {
VI::Layer& layer = display.GetLayer(0);
android::BufferItem buffer{};
- const auto status = layer.GetConsumer().AcquireBuffer(&buffer, 0, false);
+ const auto status = layer.GetConsumer().AcquireBuffer(&buffer, {}, false);
if (status != android::Status::NoError) {
continue;