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

This commit is contained in:
bunnei 2022-03-19 21:52:08 -07:00
parent 1f6dcd3784
commit d89257ddea
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;