summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/buffer_queue_producer.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-03-20 06:06:46 +0100
committerbunnei <bunneidev@gmail.com>2022-03-25 02:13:33 +0100
commitddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173 (patch)
tree51dd49fec795ed3d2e4db833e191e5b142f1fe8b /src/core/hle/service/nvflinger/buffer_queue_producer.cpp
parenthle: nvflinger: buffer_queue_core: Cleanup locking. (diff)
downloadyuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar.gz
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar.bz2
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar.lz
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar.xz
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.tar.zst
yuzu-ddd5a2b1c67a82f0b1dbaa75dc4b99ee71f93173.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue_producer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvflinger/buffer_queue_producer.cpp
index 2f7e9dcfc..eba486754 100644
--- a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue_producer.cpp
@@ -554,7 +554,7 @@ Status BufferQueueProducer::QueueBuffer(s32 slot, const QueueBufferInput& input,
if (front->is_droppable) {
// If the front queued buffer is still being tracked, we first
// mark it as freed
- if (core->StillTracking(&*front)) {
+ if (core->StillTracking(*front)) {
slots[front->slot].buffer_state = BufferState::Free;
core->free_buffers.push_front(front->slot);
}