From f794a64c5742d4e68a6af9e7f003a6dde98a16c0 Mon Sep 17 00:00:00 2001 From: Sebastian Bischlager Date: Sat, 21 Sep 2019 12:52:34 +0200 Subject: [PATCH] Fixed compilation error in Vector::reserve --- src/D3D12MemAlloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/D3D12MemAlloc.cpp b/src/D3D12MemAlloc.cpp index 874ee39..4d3b04e 100644 --- a/src/D3D12MemAlloc.cpp +++ b/src/D3D12MemAlloc.cpp @@ -593,7 +593,7 @@ public: { memcpy(newArray, m_pArray, m_Count * sizeof(T)); } - Free(m_Allocator.m_pCallbacks, m_pArray); + Free(m_AllocationCallbacks, m_pArray); m_Capacity = newCapacity; m_pArray = newArray; }