mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 16:57:52 -05: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