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

[#59] Fixed VMA to work

parent c46d64a5
No related branches found
No related tags found
1 merge request!76Resolve "Memory-Allocator"
Pipeline #26306 passed
if ((EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator") AND
(EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp"))
if (EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp")
set(VMA_HPP_PATH "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp" CACHE INTERNAL "")
set(VMA_RECORDING_ENABLED OFF CACHE INTERNAL "")
......
Subproject commit 55868965ae1fa956c07695d4642e1add8c9450f7
......@@ -320,7 +320,7 @@ namespace vkcv
nullptr,
nullptr,
instance,
VK_HEADER_VERSION_COMPLETE
0
);
vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo);
......
#ifndef NDEBUG
#define _DEBUG
#endif
#define VMA_IMPLEMENTATION
#include "vk_mem_alloc.hpp"
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