mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator.git
synced 2024-11-10 10:41:52 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6da74efe0d
@ -15591,7 +15591,7 @@ uint32_t VmaAllocator_T::CalculateGpuDefragmentationMemoryTypeBits() const
|
|||||||
uint32_t memoryTypeBits = 0;
|
uint32_t memoryTypeBits = 0;
|
||||||
|
|
||||||
// Create buffer.
|
// Create buffer.
|
||||||
VkBuffer buf = VMA_NULL;
|
VkBuffer buf = VK_NULL_HANDLE;
|
||||||
VkResult res = (*GetVulkanFunctions().vkCreateBuffer)(
|
VkResult res = (*GetVulkanFunctions().vkCreateBuffer)(
|
||||||
m_hDevice, &dummyBufCreateInfo, GetAllocationCallbacks(), &buf);
|
m_hDevice, &dummyBufCreateInfo, GetAllocationCallbacks(), &buf);
|
||||||
if(res == VK_SUCCESS)
|
if(res == VK_SUCCESS)
|
||||||
|
Loading…
Reference in New Issue
Block a user