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

[#59] Fixed VMA to work

parent 25f97257
Branches
Tags
No related merge requests found
if ((EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator") AND if (EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp")
(EXISTS "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp"))
set(VMA_HPP_PATH "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp" CACHE INTERNAL "") set(VMA_HPP_PATH "${vkcv_lib_path}/VulkanMemoryAllocator-Hpp" CACHE INTERNAL "")
set(VMA_RECORDING_ENABLED OFF CACHE INTERNAL "") set(VMA_RECORDING_ENABLED OFF CACHE INTERNAL "")
......
Subproject commit 55868965ae1fa956c07695d4642e1add8c9450f7
...@@ -320,7 +320,7 @@ namespace vkcv ...@@ -320,7 +320,7 @@ namespace vkcv
nullptr, nullptr,
nullptr, nullptr,
instance, instance,
VK_HEADER_VERSION_COMPLETE 0
); );
vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo); vma::Allocator allocator = vma::createAllocator(allocatorCreateInfo);
......
#ifndef NDEBUG
#define _DEBUG
#endif
#define VMA_IMPLEMENTATION #define VMA_IMPLEMENTATION
#include "vk_mem_alloc.hpp" #include "vk_mem_alloc.hpp"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment