include/SDL_config_iphoneos.h
changeset 11514 60aaf59fd191
parent 11480 e7a79b236dc0
child 11610 6dea196ecbcb
     1.1 --- a/include/SDL_config_iphoneos.h	Thu Sep 21 14:48:03 2017 -0700
     1.2 +++ b/include/SDL_config_iphoneos.h	Thu Sep 21 20:11:44 2017 -0300
     1.3 @@ -140,8 +140,8 @@
     1.4  #define SDL_VIDEO_RENDER_OGL_ES 1
     1.5  #define SDL_VIDEO_RENDER_OGL_ES2    1
     1.6  
     1.7 -/* Enable Vulkan support */
     1.8 -#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM // Only 64-bit devices have Metal
     1.9 +/* Enable Vulkan support on 64-bit devices when an iOS 8+ SDK is used. */
    1.10 +#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM && defined(__IPHONE_8_0)
    1.11  #define SDL_VIDEO_VULKAN 1
    1.12  #else
    1.13  #define SDL_VIDEO_VULKAN 0