early-access version 4011
This commit is contained in:
parent
465501b5ac
commit
0ed30f380a
2 changed files with 7 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
yuzu emulator early access
|
||||
=============
|
||||
|
||||
This is the source code for early-access 4010.
|
||||
This is the source code for early-access 4011.
|
||||
|
||||
## Legal Notice
|
||||
|
||||
|
|
|
@ -90,6 +90,12 @@ Status BufferQueueConsumer::AcquireBuffer(BufferItem* out_buffer,
|
|||
|
||||
LOG_DEBUG(Service_Nvnflinger, "acquiring slot={}", slot);
|
||||
|
||||
if (core->StillTracking(*out_buffer)) {
|
||||
slots[slot].acquire_called = true;
|
||||
slots[slot].buffer_state = BufferState::Acquired;
|
||||
slots[slot].fence = Fence::NoFence();
|
||||
}
|
||||
|
||||
// If the buffer has previously been acquired by the consumer, set graphic_buffer to nullptr to
|
||||
// avoid unnecessarily remapping this buffer on the consumer side.
|
||||
if (out_buffer->acquire_called) {
|
||||
|
|
Loading…
Reference in a new issue