1
1
Fork 0
forked from suyu/suyu

nvnflinger: fix producer slot fence init

This commit is contained in:
Liam 2023-05-11 17:08:14 -04:00
parent 182221b9ff
commit 6e10a0c130

View file

@ -793,6 +793,7 @@ Status BufferQueueProducer::SetPreallocatedBuffer(s32 slot,
std::scoped_lock lock{core->mutex}; std::scoped_lock lock{core->mutex};
slots[slot] = {}; slots[slot] = {};
slots[slot].fence = Fence::NoFence();
slots[slot].graphic_buffer = buffer; slots[slot].graphic_buffer = buffer;
slots[slot].frame_number = 0; slots[slot].frame_number = 0;