include/SDL_config_android.h
changeset 11365 a9bd2625fa01
parent 11238 c728c661cec7
child 11381 2610f8f0a9c6
     1.1 --- a/include/SDL_config_android.h	Sun Aug 27 19:10:30 2017 -0700
     1.2 +++ b/include/SDL_config_android.h	Sun Aug 27 22:15:57 2017 -0400
     1.3 @@ -140,6 +140,14 @@
     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 +/* Android does not support Vulkan in native code using the "armeabi" ABI. */
     1.9 +#if !defined(__ARM_EABI__) || defined(__ARM_ARCH_7A__)
    1.10 +#define SDL_VIDEO_VULKAN_SURFACE 1
    1.11 +#else
    1.12 +#define SDL_VIDEO_VULKAN_SURFACE 0
    1.13 +#endif
    1.14 +
    1.15  /* Enable system power support */
    1.16  #define SDL_POWER_ANDROID 1
    1.17