We use the SDL Vulkan headers

This commit is contained in:
Sam Lantinga 2017-08-27 20:41:48 -07:00
parent 27e5963b8f
commit 4989a01939
3 changed files with 7 additions and 473 deletions

View file

@ -31,7 +31,12 @@ int main(int argc, char *argv[])
#else
#define VK_NO_PROTOTYPES
#ifdef HAVE_VULKAN_H
#include <vulkan/vulkan.h>
#else
/* SDL includes a copy for building on systems without the Vulkan SDK */
#include "../src/video/khronos/vulkan/vulkan.h"
#endif
#define VULKAN_FUNCTIONS() \
VULKAN_DEVICE_FUNCTION(vkAcquireNextImageKHR) \