summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-03 10:01:38 +0100
committerGitHub <noreply@github.com>2021-01-03 10:01:38 +0100
commitf64456c7e20248cae3fc0aa09163c13e485c8c37 (patch)
treea07e66213eef18d5d0f508e30bd2d9a9ad03b9cb
parentMerge pull request #5281 from FearlessTobi/port-5668 (diff)
parenthle: service: nvflinger: buffer_queue: Do not reset id/layer_id on Connect. (diff)
downloadyuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar.gz
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar.bz2
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar.lz
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar.xz
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.tar.zst
yuzu-f64456c7e20248cae3fc0aa09163c13e485c8c37.zip
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index c8c6a4d64..0e6bde9f5 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -157,8 +157,6 @@ void BufferQueue::ReleaseBuffer(u32 slot) {
void BufferQueue::Connect() {
queue_sequence.clear();
- id = 1;
- layer_id = 1;
is_connect = true;
}