YaaZ / VulkanMemoryAllocator-Hpp

C++ bindings for VulkanMemoryAllocator
Creative Commons Zero v1.0 Universal
59 stars 34 forks source link

VULKAN_HPP_INLINE should be added to VMA_HPP_DESTROY_IMPL #12

Closed Qwinci closed 2 years ago

Qwinci commented 2 years ago

The issue it currently has is that if you include vk_mem_alloc.hpp in multiple files it gives duplicate symbols, and I think that can be solved by adding VULKAN_HPP_INLINE to VMA_HPP_DESTROY_IMPL.