summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-05-11 17:08:14 -0400
committerLiam <byteslice@airmail.cc>2023-05-11 17:08:14 -0400
commit6e10a0c1305f4210f725da03cfc5ebc4e34a672c (patch)
treef6b0022178c88f21491deba7c4ba772dc6ff587f /src
parent182221b9ffdee68c0f8c3749868918799f5b3d0f (diff)
nvnflinger: fix producer slot fence init
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nvnflinger/buffer_queue_producer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
index cd0a13094..c9e9fedd1 100644
--- a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
+++ b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
@@ -793,6 +793,7 @@ Status BufferQueueProducer::SetPreallocatedBuffer(s32 slot,
std::scoped_lock lock{core->mutex};
slots[slot] = {};
+ slots[slot].fence = Fence::NoFence();
slots[slot].graphic_buffer = buffer;
slots[slot].frame_number = 0;