Merge pull request #10970 from stenzek/vulkan-create-buffer

(Vulkan) Fix incorrect structure type in vulkan_create_buffer
This commit is contained in:
Autechre 2020-07-05 16:36:57 +02:00 committed by GitHub
commit c4e54d13d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;