diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-10-12 09:17:56 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-10-12 09:17:56 -0400 |
| commit | 574440d59fccba286a90f97d90d92dbe148440d3 (patch) | |
| tree | 8e1e6333b9acdb0055e597ed78ae10d56a90d6c2 /src/core/hle/service/nvflinger/nvflinger.cpp | |
| parent | b41692b69b778ce553c03461e4c66d9a3f58175e (diff) | |
nvflinger/buffer_queue: Remove use of a global system accessor
Diffstat (limited to 'src/core/hle/service/nvflinger/nvflinger.cpp')
| -rw-r--r-- | src/core/hle/service/nvflinger/nvflinger.cpp | 2 |
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 2e4d707b9..368f83f6c 100644 --- a/src/core/hle/service/nvflinger/nvflinger.cpp +++ b/src/core/hle/service/nvflinger/nvflinger.cpp @@ -83,7 +83,7 @@ std::optional<u64> NVFlinger::CreateLayer(u64 display_id) { const u64 layer_id = next_layer_id++; const u32 buffer_queue_id = next_buffer_queue_id++; - buffer_queues.emplace_back(buffer_queue_id, layer_id); + buffer_queues.emplace_back(system.Kernel(), buffer_queue_id, layer_id); display->CreateLayer(layer_id, buffer_queues.back()); return layer_id; } |
