Skip to content
Snippets Groups Projects
Unverified Commit b23fa8e4 authored by TheJackiMonster's avatar TheJackiMonster
Browse files

[#59] Added comment to explain used version and moved weird subproject into config directory

parent d5ee54bd
No related branches found
No related tags found
1 merge request!76Resolve "Memory-Allocator"
Pipeline #26307 passed
......@@ -11,7 +11,7 @@ if (EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp")
set(VMA_DEBUG_GLOBAL_MUTEX OFF CACHE INTERNAL "")
set(VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT OFF CACHE INTERNAL "")
add_subdirectory(vma)
add_subdirectory(${vkcv_config_lib}/vma)
list(APPEND vkcv_libraries VulkanMemoryAllocator)
list(APPEND vkcv_includes ${vkcv_lib_path}/VulkanMemoryAllocator-Hpp)
......
File moved
File moved
......@@ -320,6 +320,13 @@ namespace vkcv
nullptr,
nullptr,
instance,
/* Uses default version when set to 0 (currently VK_VERSION_1_0):
*
* The reason for this is that the allocator restricts the allowed version
* to be at maximum VK_VERSION_1_1 which is already less than
* VK_HEADER_VERSION_COMPLETE at most platforms.
* */
0
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment