From 7e572410bb95a46db3bd3955cc7689ea87973cea Mon Sep 17 00:00:00 2001 From: ladevieq Date: Fri, 5 Mar 2021 23:04:09 +0100 Subject: Working hardcoded imgui backend --- src/vk-api.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/vk-api.cpp') diff --git a/src/vk-api.cpp b/src/vk-api.cpp index eeb96d5..0c7d114 100644 --- a/src/vk-api.cpp +++ b/src/vk-api.cpp @@ -107,7 +107,6 @@ Image vkapi::create_image(VkExtent3D size, VkFormat format, VkImageUsageFlags us VmaAllocationCreateInfo alloc_create_info = {}; alloc_create_info.usage = VMA_MEMORY_USAGE_GPU_ONLY; - alloc_create_info.flags = VMA_ALLOCATION_CREATE_MAPPED_BIT; VKRESULT(vmaCreateImage(context.allocator, &img_create_info, &alloc_create_info, &image.handle, &image.alloc, &image.alloc_info)) @@ -513,7 +512,7 @@ Pipeline vkapi::create_graphics_pipeline(const char* shader_name, std::vector