hle: nvflinger: Use std::chrono for present_ns.

This commit is contained in:
bunnei
2022-03-19 21:52:08 -07:00
parent ca12a77670
commit 650c9d0d62
7 changed files with 30 additions and 25 deletions

View File

@ -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;