diff options
author | Lioncash <mathew1800@gmail.com> | 2019-02-21 17:31:53 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-02-22 04:09:46 +0100 |
commit | 90528f132678ea7dfa9ac4588ae2b8c7808d4685 (patch) | |
tree | 57a37cad480b9ec528914a8fc67b699ec8ad016d /src/core/hle/service/vi/layer/vi_layer.cpp | |
parent | service/vi/vi_layer: Convert Layer struct into a class (diff) | |
download | yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar.gz yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar.bz2 yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar.lz yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar.xz yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.tar.zst yuzu-90528f132678ea7dfa9ac4588ae2b8c7808d4685.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/vi/layer/vi_layer.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/hle/service/vi/layer/vi_layer.cpp b/src/core/hle/service/vi/layer/vi_layer.cpp index 48f4c57cb..954225c26 100644 --- a/src/core/hle/service/vi/layer/vi_layer.cpp +++ b/src/core/hle/service/vi/layer/vi_layer.cpp @@ -2,16 +2,11 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include "common/assert.h" #include "core/hle/service/vi/layer/vi_layer.h" namespace Service::VI { -Layer::Layer(u64 id, std::shared_ptr<NVFlinger::BufferQueue> queue) - : id{id}, buffer_queue{std::move(queue)} -{ - ASSERT_MSG(buffer_queue != nullptr, "buffer_queue may not be null."); -} +Layer::Layer(u64 id, NVFlinger::BufferQueue& queue) : id{id}, buffer_queue{queue} {} Layer::~Layer() = default; |