mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 13:01:50 +01:00
Fix memory::Buffer move constructor
This commit is contained in:
parent
ef0ae30667
commit
7861968c05
@ -27,7 +27,8 @@ namespace skyline::gpu::memory {
|
||||
constexpr Buffer(Buffer &&other)
|
||||
: vmaAllocator(std::exchange(other.vmaAllocator, nullptr)),
|
||||
vmaAllocation(std::exchange(other.vmaAllocation, nullptr)),
|
||||
vkBuffer(std::exchange(other.vkBuffer, {})) {}
|
||||
vkBuffer(std::exchange(other.vkBuffer, {})),
|
||||
span(other) {}
|
||||
|
||||
Buffer &operator=(const Buffer &) = delete;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user