(Vulkan) Fix incorrect structure type in vulkan_create_buffer
This commit is contained in:
parent
e21558c207
commit
7b7cffd545
|
@ -1260,7 +1260,7 @@ struct vk_buffer vulkan_create_buffer(
|
|||
VkBufferCreateInfo info;
|
||||
VkMemoryAllocateInfo alloc;
|
||||
|
||||
info.sType = VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO;
|
||||
info.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO;
|
||||
info.pNext = NULL;
|
||||
info.flags = 0;
|
||||
info.size = size;
|
||||
|
|
Loading…
Reference in New Issue