|
@@ -238,7 +238,7 @@ bool VKMemoryManager::AllocMemory(vk::MemoryPropertyFlags wanted_properties, u32
|
|
|
|
|
|
|
|
VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory,
|
|
VKMemoryCommitImpl::VKMemoryCommitImpl(VKMemoryAllocation* allocation, vk::DeviceMemory memory,
|
|
|
u8* data, u64 begin, u64 end)
|
|
u8* data, u64 begin, u64 end)
|
|
|
- : allocation{allocation}, memory{memory}, data{data}, interval(std::make_pair(begin, end)) {}
|
|
|
|
|
|
|
+ : interval(std::make_pair(begin, end)), memory{memory}, allocation{allocation}, data{data} {}
|
|
|
|
|
|
|
|
VKMemoryCommitImpl::~VKMemoryCommitImpl() {
|
|
VKMemoryCommitImpl::~VKMemoryCommitImpl() {
|
|
|
allocation->Free(this);
|
|
allocation->Free(this);
|