Corrected memory property flag for staging target buffer
This commit is contained in:
parent
581a043620
commit
77bb8cf68b
1 changed files with 1 additions and 1 deletions
|
|
@ -501,7 +501,7 @@ public:
|
|||
|
||||
VulkanExampleBase::createBuffer(
|
||||
VK_BUFFER_USAGE_VERTEX_BUFFER_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT,
|
||||
VK_MEMORY_HEAP_DEVICE_LOCAL_BIT,
|
||||
VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT,
|
||||
instanceBuffer.size,
|
||||
nullptr,
|
||||
&instanceBuffer.buffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue