mirror of
https://github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator
synced 2024-11-05 12:20:07 +00:00
Fix for compilation on Linux
This commit is contained in:
parent
187954c327
commit
cba6a2ba10
@ -16741,7 +16741,7 @@ VkResult VmaVirtualBlock_T::Allocate(const VmaVirtualAllocationCreateInfo& creat
|
|||||||
0, // frameInUseCount - unimportant
|
0, // frameInUseCount - unimportant
|
||||||
1, // bufferImageGranularity
|
1, // bufferImageGranularity
|
||||||
createInfo.size, // allocSize
|
createInfo.size, // allocSize
|
||||||
VMA_MAX(createInfo.alignment, 1llu), // allocAlignment
|
VMA_MAX(createInfo.alignment, (VkDeviceSize)1), // allocAlignment
|
||||||
(createInfo.flags & VMA_VIRTUAL_ALLOCATION_CREATE_UPPER_ADDRESS_BIT) != 0, // upperAddress
|
(createInfo.flags & VMA_VIRTUAL_ALLOCATION_CREATE_UPPER_ADDRESS_BIT) != 0, // upperAddress
|
||||||
VMA_SUBALLOCATION_TYPE_UNKNOWN, // allocType - unimportant
|
VMA_SUBALLOCATION_TYPE_UNKNOWN, // allocType - unimportant
|
||||||
false, // canMakeOthersLost
|
false, // canMakeOthersLost
|
||||||
|
Loading…
Reference in New Issue
Block a user