diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-20 06:09:46 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-25 02:13:33 +0100 |
commit | e524def8c068bcd4660410117a13241e175afc9b (patch) | |
tree | 104e8be9bda8102444064f812509e6ff3f69cb9e /src/core/hle/service/nvflinger | |
parent | hle: nvflinger: buffer_queue_producer: DequeueBuffer: Remove unnecessary lock. (diff) | |
download | yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar.gz yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar.bz2 yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar.lz yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar.xz yuzu-e524def8c068bcd4660410117a13241e175afc9b.tar.zst yuzu-e524def8c068bcd4660410117a13241e175afc9b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_core.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/nvflinger/buffer_queue_core.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cpp index 3f1ce78b0..eb93b43ee 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp +++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp @@ -16,6 +16,8 @@ BufferQueueCore::BufferQueueCore() : lock{mutex, std::defer_lock} { } } +BufferQueueCore::~BufferQueueCore() = default; + void BufferQueueCore::NotifyShutdown() { std::unique_lock lk(mutex); diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.h b/src/core/hle/service/nvflinger/buffer_queue_core.h index ad10b4c3c..a3cd89f1c 100644 --- a/src/core/hle/service/nvflinger/buffer_queue_core.h +++ b/src/core/hle/service/nvflinger/buffer_queue_core.h @@ -32,6 +32,7 @@ public: static constexpr s32 INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT; BufferQueueCore(); + ~BufferQueueCore(); void NotifyShutdown(); |