summaryrefslogtreecommitdiff
path: root/thirdparty/vulkan
diff options
context:
space:
mode:
authorPouleyKetchoupp <pouleyketchoup@gmail.com>2020-04-10 10:32:11 +0200
committerPouleyKetchoupp <pouleyketchoup@gmail.com>2020-04-10 11:06:11 +0200
commit802bbe87adc52daa92ddd963e498c6c5ab845bfc (patch)
treeed18d6d6f3ee68d954dbed2d8cdd8b9da951c29b /thirdparty/vulkan
parent74d432117239d07d497bea5368600acee5ef5af4 (diff)
Fix extra warnings in Android build
Diffstat (limited to 'thirdparty/vulkan')
-rw-r--r--thirdparty/vulkan/android/vk_mem_alloc.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/thirdparty/vulkan/android/vk_mem_alloc.cpp b/thirdparty/vulkan/android/vk_mem_alloc.cpp
new file mode 100644
index 0000000000..a28454cf6e
--- /dev/null
+++ b/thirdparty/vulkan/android/vk_mem_alloc.cpp
@@ -0,0 +1,8 @@
+#define VMA_IMPLEMENTATION
+#ifdef DEBUG_ENABLED
+#ifndef _DEBUG
+#define _DEBUG
+#endif
+#endif
+// Include memory allocator from Android NDK
+#include <vk_mem_alloc.h>