summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorAmeer J <52414509+ameerj@users.noreply.github.com>2021-09-08 06:34:36 +0200
committerGitHub <noreply@github.com>2021-09-08 06:34:36 +0200
commiteb1ba45c3982473f2049df7eebb12dcf551ed616 (patch)
tree20d566260fe8c53e0f631c3c1076420ea4526416 /src/core/hle/service/nvflinger/nvflinger.cpp
parentMerge pull request #6977 from Moonlacer/master (diff)
parentcore: hle: service: buffer_queue: Improve management of KEvent. (diff)
downloadyuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar.gz
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar.bz2
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar.lz
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar.xz
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.tar.zst
yuzu-eb1ba45c3982473f2049df7eebb12dcf551ed616.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/nvflinger/nvflinger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cpp
index 32d4e360a..00bff8caf 100644
--- a/src/core/hle/service/nvflinger/nvflinger.cpp
+++ b/src/core/hle/service/nvflinger/nvflinger.cpp
@@ -147,7 +147,7 @@ std::optional<u64> NVFlinger::CreateLayer(u64 display_id) {
void NVFlinger::CreateLayerAtId(VI::Display& display, u64 layer_id) {
const u32 buffer_queue_id = next_buffer_queue_id++;
buffer_queues.emplace_back(
- std::make_unique<BufferQueue>(system.Kernel(), buffer_queue_id, layer_id));
+ std::make_unique<BufferQueue>(system.Kernel(), buffer_queue_id, layer_id, service_context));
display.CreateLayer(layer_id, *buffer_queues.back());
}