From 4405c51aab8d1692e6528831658ac13c37d66a91 Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Mon, 23 Mar 2020 18:58:04 +0100 Subject: [PATCH] Fix compilation of VmaReplay project --- src/VmaReplay/VmaReplay.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/VmaReplay/VmaReplay.cpp b/src/VmaReplay/VmaReplay.cpp index 18991f9..5a1f960 100644 --- a/src/VmaReplay/VmaReplay.cpp +++ b/src/VmaReplay/VmaReplay.cpp @@ -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. }