mirror of
https://github.com/encounter/SDL.git
synced 2025-12-21 10:49:12 +00:00
We use the SDL Vulkan headers
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user