summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/buffer_queue_core.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-06-06 01:06:06 +0200
committerbunnei <bunneidev@gmail.com>2022-06-06 01:06:06 +0200
commit888e8141305a12059158494fb315fefc673e53e0 (patch)
tree20bdf7ef6559d5c4e2a9bfda5398b18d59751e7b /src/core/hle/service/nvflinger/buffer_queue_core.cpp
parentMerge pull request #8419 from liamwhite/library-list (diff)
downloadyuzu-888e8141305a12059158494fb315fefc673e53e0.tar
yuzu-888e8141305a12059158494fb315fefc673e53e0.tar.gz
yuzu-888e8141305a12059158494fb315fefc673e53e0.tar.bz2
yuzu-888e8141305a12059158494fb315fefc673e53e0.tar.lz
yuzu-888e8141305a12059158494fb315fefc673e53e0.tar.xz
yuzu-888e8141305a12059158494fb315fefc673e53e0.tar.zst
yuzu-888e8141305a12059158494fb315fefc673e53e0.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue_core.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cpp
index d4e8b44d0..ea4a14ea4 100644
--- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp
@@ -84,10 +84,6 @@ void BufferQueueCore::FreeBufferLocked(s32 slot) {
slots[slot].graphic_buffer.reset();
- if (slots[slot].buffer_state == BufferState::Acquired) {
- slots[slot].needs_cleanup_on_release = true;
- }
-
slots[slot].buffer_state = BufferState::Free;
slots[slot].frame_number = UINT32_MAX;
slots[slot].acquire_called = false;