test/testvulkan.c
changeset 11369 78b2c58e31da
parent 11367 e8fc755a89e8
child 11372 48367ecee6f4
     1.1 --- a/test/testvulkan.c	Sun Aug 27 20:41:29 2017 -0700
     1.2 +++ b/test/testvulkan.c	Sun Aug 27 20:41:48 2017 -0700
     1.3 @@ -31,7 +31,12 @@
     1.4  #else
     1.5  
     1.6  #define VK_NO_PROTOTYPES
     1.7 +#ifdef HAVE_VULKAN_H
     1.8 +#include <vulkan/vulkan.h>
     1.9 +#else
    1.10 +/* SDL includes a copy for building on systems without the Vulkan SDK */
    1.11  #include "../src/video/khronos/vulkan/vulkan.h"
    1.12 +#endif
    1.13  
    1.14  #define VULKAN_FUNCTIONS()                                              \
    1.15      VULKAN_DEVICE_FUNCTION(vkAcquireNextImageKHR)                       \