aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/nvflinger/buffer_queue.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-09-11 11:42:05 -0400
committerGitHub <noreply@github.com>2018-09-11 11:42:05 -0400
commit1470b85af9027106f16c888bb7f6a97d44fad304 (patch)
tree47ec1878cfed0a96d2cd000dee1f09c63b8d30f4 /src/core/hle/service/nvflinger/buffer_queue.cpp
parent2f0ff4d25b0780a84769bd0277bcab3c56e3186b (diff)
parent6ac955a0b441d762a2ebc0ce96bc41954879c0fc (diff)
Merge pull request #1291 from lioncash/default
hle/service: Default constructors and destructors in the cpp file where applicable
Diffstat (limited to 'src/core/hle/service/nvflinger/buffer_queue.cpp')
-rw-r--r--src/core/hle/service/nvflinger/buffer_queue.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/service/nvflinger/buffer_queue.cpp b/src/core/hle/service/nvflinger/buffer_queue.cpp
index 8d8962276..34f98fe5a 100644
--- a/src/core/hle/service/nvflinger/buffer_queue.cpp
+++ b/src/core/hle/service/nvflinger/buffer_queue.cpp
@@ -18,6 +18,8 @@ BufferQueue::BufferQueue(u32 id, u64 layer_id) : id(id), layer_id(layer_id) {
Kernel::Event::Create(kernel, Kernel::ResetType::Sticky, "BufferQueue NativeHandle");
}
+BufferQueue::~BufferQueue() = default;
+
void BufferQueue::SetPreallocatedBuffer(u32 slot, const IGBPBuffer& igbp_buffer) {
Buffer buffer{};
buffer.slot = slot;