diff --git a/lib/ivis_opengl/3rdparty/vk_mem_alloc.h b/lib/ivis_opengl/3rdparty/vk_mem_alloc.h index 408895fe57b..4c888f77a72 100644 --- a/lib/ivis_opengl/3rdparty/vk_mem_alloc.h +++ b/lib/ivis_opengl/3rdparty/vk_mem_alloc.h @@ -2956,6 +2956,9 @@ static void* vma_aligned_alloc(size_t alignment, size_t size) #else static void* vma_aligned_alloc(size_t alignment, size_t size) { +# ifndef VMA_SYSTEM_ALIGNED_MALLOC + #error No available implementation for vma_aligned_alloc +# endif VMA_ASSERT(0 && "Could not implement aligned_alloc automatically. Please enable C++17 or later in your compiler or provide custom implementation of macro VMA_SYSTEM_ALIGNED_MALLOC (and VMA_SYSTEM_ALIGNED_FREE if needed) using the API of your system."); return VMA_NULL; }