File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2204,7 +2204,7 @@ Do not pass allocation's offset within device memory block this parameter!
2204
2204
*/
2205
2205
VMA_CALL_PRE VkResult VMA_CALL_POST vmaCopyMemoryToAllocation(
2206
2206
VmaAllocator VMA_NOT_NULL allocator,
2207
- const void* VMA_NOT_NULL pSrcHostPointer,
2207
+ const void* VMA_NOT_NULL VMA_LEN_IF_NOT_NULL(size) pSrcHostPointer,
2208
2208
VmaAllocation VMA_NOT_NULL dstAllocation,
2209
2209
VkDeviceSize dstAllocationLocalOffset,
2210
2210
VkDeviceSize size);
@@ -2234,7 +2234,7 @@ VMA_CALL_PRE VkResult VMA_CALL_POST vmaCopyAllocationToMemory(
2234
2234
VmaAllocator VMA_NOT_NULL allocator,
2235
2235
VmaAllocation VMA_NOT_NULL srcAllocation,
2236
2236
VkDeviceSize srcAllocationLocalOffset,
2237
- void* VMA_NOT_NULL pDstHostPointer,
2237
+ void* VMA_NOT_NULL VMA_LEN_IF_NOT_NULL(size) pDstHostPointer,
2238
2238
VkDeviceSize size);
2239
2239
2240
2240
/** \brief Checks magic number in margins around all allocations in given memory types (in both default and custom pools) in search for corruptions.
You can’t perform that action at this time.
0 commit comments