16 lines
336 B
C++
16 lines
336 B
C++
#define VMA_IMPLEMENTATION
|
|
#define VMA_STATIC_VULKAN_FUNCTIONS 0
|
|
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
|
|
#define VMA_VULKAN_VERSION 1002000
|
|
|
|
#ifdef __linux__
|
|
# define XLIB_ILLEGAL_ACCESS
|
|
# define VK_USE_PLATFORM_XLIB_KHR
|
|
#elif _WIN32
|
|
# define VK_USE_PLATFORM_WIN32_KHR
|
|
#else
|
|
# error not yet implemented
|
|
#endif
|
|
|
|
#include "vk_mem_alloc.h"
|