diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index 93b3019..66b5c07 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -15591,7 +15591,7 @@ uint32_t VmaAllocator_T::CalculateGpuDefragmentationMemoryTypeBits() const uint32_t memoryTypeBits = 0; // Create buffer. - VkBuffer buf = VMA_NULL; + VkBuffer buf = VK_NULL_HANDLE; VkResult res = (*GetVulkanFunctions().vkCreateBuffer)( m_hDevice, &dummyBufCreateInfo, GetAllocationCallbacks(), &buf); if(res == VK_SUCCESS)