parent
bfb4b7607a
commit
1b8343d67b
19 changed files with 7 additions and 45 deletions
|
|
@ -437,7 +437,7 @@ namespace vks
|
|||
void copyBuffer(vks::Buffer *src, vks::Buffer *dst, VkQueue queue, VkBufferCopy *copyRegion = nullptr)
|
||||
{
|
||||
assert(dst->size <= src->size);
|
||||
assert(src->buffer && src->buffer);
|
||||
assert(src->buffer);
|
||||
VkCommandBuffer copyCmd = createCommandBuffer(VK_COMMAND_BUFFER_LEVEL_PRIMARY, true);
|
||||
VkBufferCopy bufferCopy{};
|
||||
if (copyRegion == nullptr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue