mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 10:32:41 +00:00
buffer_item_consumer: Pass fence by const-ref in ReleaseBuffer()
This isn't directly modified. Also allows rvalues to be used with it.
This commit is contained in:
@@ -307,8 +307,7 @@ void NVFlinger::Compose() {
|
||||
|
||||
swap_interval = buffer.swap_interval;
|
||||
|
||||
auto fence = android::Fence::NoFence();
|
||||
layer.GetConsumer().ReleaseBuffer(buffer, fence);
|
||||
layer.GetConsumer().ReleaseBuffer(buffer, android::Fence::NoFence());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user