From 8279acc1a4754bedaad0ba8bf00541c7b2a043e9 Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Wed, 12 Jun 2024 23:57:24 +0200 Subject: Swapchain creation --- deimos/core/allocator.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'deimos/core/allocator.h') diff --git a/deimos/core/allocator.h b/deimos/core/allocator.h index 9e8dd87..f6adea2 100644 --- a/deimos/core/allocator.h +++ b/deimos/core/allocator.h @@ -143,6 +143,21 @@ public: std::forward(arg5)); } + template + constexpr gsl::owner New( + A0&& arg0, A1&& arg1, A2&& arg2, A3&& arg3, A4&& arg4, A5&& arg5, A6&& arg6, + const SourceLocation& source_location = {}) + { + return NewInner(source_location, + std::forward(arg0), + std::forward(arg1), + std::forward(arg2), + std::forward(arg3), + std::forward(arg4), + std::forward(arg5), + std::forward(arg6)); + } + template void Delete(gsl::owner t, const SourceLocation& source_location = {}) { -- cgit