commit | 12f110c96b87560772ffe58e02b647d4167617ed | [log] [tgz] |
---|---|---|
author | Zachary Michaels <mikezackles@gmail.com> | Fri May 31 19:35:59 2019 -0700 |
committer | Zachary Michaels <mikezackles@gmail.com> | Fri May 31 19:35:59 2019 -0700 |
tree | c576e864313025a985e001ade482d0e1973c2c59 | |
parent | 8458ccee397499d22037f07abbccdf7cfde7e339 [diff] |
Use VK_NULL_HANDLE for VkBuffer init (not VMA_NULL)
diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index deb1404..cd022c7 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h
@@ -15592,7 +15592,7 @@ 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)