include/SDL_config_iphoneos.h
changeset 11365 a9bd2625fa01
parent 10903 875e0bb9646c
child 11381 2610f8f0a9c6
     1.1 --- a/include/SDL_config_iphoneos.h	Sun Aug 27 19:10:30 2017 -0700
     1.2 +++ b/include/SDL_config_iphoneos.h	Sun Aug 27 22:15:57 2017 -0400
     1.3 @@ -139,6 +139,13 @@
     1.4  #define SDL_VIDEO_RENDER_OGL_ES 1
     1.5  #define SDL_VIDEO_RENDER_OGL_ES2    1
     1.6  
     1.7 +/* Enable Vulkan surface support */
     1.8 +#if !TARGET_OS_SIMULATOR && !TARGET_CPU_ARM // Only 64-bit devices have Metal
     1.9 +#define SDL_VIDEO_VULKAN_SURFACE 1
    1.10 +#else
    1.11 +#define SDL_VIDEO_VULKAN_SURFACE 0
    1.12 +#endif
    1.13 +
    1.14  /* Enable system power support */
    1.15  #define SDL_POWER_UIKIT 1
    1.16