vulkan: fix android build

It compiles now, but it's not working correctly yet
This commit is contained in:
niki
2022-08-20 19:38:59 +02:00
parent 3e762c9772
commit 23666b1fde
14 changed files with 4187 additions and 20 deletions
@@ -0,0 +1,14 @@
#ifndef LOVE_GRAPHICS_VULKAN_VULKANWRAPPER_H
#define LOVE_GRAPHICS_VULKAN_VULKANWRAPPER_H
#include "common/config.h"
#ifdef LOVE_ANDROID
#include "volk.h"
#define VMA_STATIC_VULKAN_FUNCTIONS 0
#define VMA_DYNAMIC_VULKAN_FUNCTIONS 0
#else
#include <vulkan/vulkan.h>
#endif
#endif //LOVE_GRAPHICS_VULKAN_VULKANWRAPPER_H