summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nvflinger/nvflinger.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-07 10:17:13 +0200
committerbunnei <bunneidev@gmail.com>2021-09-05 07:25:46 +0200
commite05bfd2f542ae32aec87c24b9b59684b4ecf5f45 (patch)
tree07aeb7c684da6cbbc51a71bf8a804d2c6a606e14 /src/core/hle/service/nvflinger/nvflinger.cpp
parentMerge pull request #6968 from bunnei/nvflinger-event (diff)
downloadyuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar.gz
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar.bz2
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar.lz
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar.xz
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.tar.zst
yuzu-e05bfd2f542ae32aec87c24b9b59684b4ecf5f45.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());
}