diff --git a/src/vk_mem_alloc.h b/src/vk_mem_alloc.h index d0f3e42..d61f79b 100644 --- a/src/vk_mem_alloc.h +++ b/src/vk_mem_alloc.h @@ -15876,12 +15876,6 @@ VkResult vmaFindMemoryTypeIndex( uint32_t requiredFlags = pAllocationCreateInfo->requiredFlags; uint32_t preferredFlags = pAllocationCreateInfo->preferredFlags; - const bool mapped = (pAllocationCreateInfo->flags & VMA_ALLOCATION_CREATE_MAPPED_BIT) != 0; - if(mapped) - { - preferredFlags |= VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT; - } - // Convert usage to requiredFlags and preferredFlags. switch(pAllocationCreateInfo->usage) {