blob: 25e5d078a878057ae53ce4fcf13745f8adca448b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
/*
In exactly one CPP file define macro VMA_IMPLEMENTATION and then include
vk_mem_alloc.h to include definitions of its internal implementation
*/
#pragma warning(push)
#pragma warning(disable : 4100; disable : 4127; disable : 4324)
//#define VMA_DEBUG_LOG(format, ...) printf(format "\n", ##__VA_ARGS__)
// Alternatively, tell VMA how to print leaks explicitly
//#define VMA_LEAK_LOG_FORMAT(format) "VMA LEAK: " format
#define VMA_IMPLEMENTATION
#include <cstdio>
#include "../vk_mem_alloc.h"
#pragma warning(pop)
|