Skip to content
Snippets Groups Projects
Verified Commit 377757b8 authored by Tobias Frisch's avatar Tobias Frisch
Browse files

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

parent dd3fb9a6
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ if (EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp") ...@@ -11,7 +11,7 @@ if (EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp")
set(VMA_DEBUG_GLOBAL_MUTEX OFF CACHE INTERNAL "") set(VMA_DEBUG_GLOBAL_MUTEX OFF CACHE INTERNAL "")
set(VMA_DEBUG_DONT_EXCEED_MAX_MEMORY_ALLOCATION_COUNT 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_libraries VulkanMemoryAllocator)
list(APPEND vkcv_includes ${vkcv_lib_path}/VulkanMemoryAllocator-Hpp) list(APPEND vkcv_includes ${vkcv_lib_path}/VulkanMemoryAllocator-Hpp)
......
File moved
File moved
...@@ -320,6 +320,13 @@ namespace vkcv ...@@ -320,6 +320,13 @@ namespace vkcv
nullptr, nullptr,
nullptr, nullptr,
instance, 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
); );
......
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