Fix the validation error for buffer copy
This commit is contained in:
parent
7a2dac7e30
commit
5a6170e1e9
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ namespace vks
|
|||
VK_CHECK_RESULT(vkAllocateMemory(logicalDevice, &memAlloc, nullptr, &buffer->memory));
|
||||
|
||||
buffer->alignment = memReqs.alignment;
|
||||
buffer->size = memAlloc.allocationSize;
|
||||
buffer->size = size;
|
||||
buffer->usageFlags = usageFlags;
|
||||
buffer->memoryPropertyFlags = memoryPropertyFlags;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue