Fix compilation of VmaReplay project

This commit is contained in:
Adam Sawicki 2020-03-23 18:58:04 +01:00
parent 451bf601d8
commit 4405c51aab

View File

@ -809,7 +809,8 @@ static void VKAPI_CALL AllocateDeviceMemoryCallback(
VmaAllocator allocator,
uint32_t memoryType,
VkDeviceMemory memory,
VkDeviceSize size)
VkDeviceSize size,
void* pUserData)
{
g_Statistics->RegisterDeviceMemoryAllocation(memoryType, size);
}
@ -819,7 +820,8 @@ static void VKAPI_CALL FreeDeviceMemoryCallback(
VmaAllocator allocator,
uint32_t memoryType,
VkDeviceMemory memory,
VkDeviceSize size)
VkDeviceSize size,
void* pUserData)
{
// Nothing.
}