diff --git a/CMakeLists.txt b/CMakeLists.txt index a2298d806b..f75f0654f6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1339,6 +1339,10 @@ if(ANDROID) if(VULKAN_PASSED_ANDROID_CHECKS) set(SDL_VIDEO_VULKAN 1) set(HAVE_VULKAN TRUE) + if(SDL_RENDER_VULKAN) + set(SDL_VIDEO_RENDER_VULKAN 1) + set(HAVE_RENDER_VULKAN TRUE) + endif() endif() endif() endif() diff --git a/include/build_config/SDL_build_config_android.h b/include/build_config/SDL_build_config_android.h index 013bd060ee..098e2f5052 100644 --- a/include/build_config/SDL_build_config_android.h +++ b/include/build_config/SDL_build_config_android.h @@ -193,6 +193,9 @@ #define SDL_VIDEO_VULKAN 0 #else #define SDL_VIDEO_VULKAN 1 +#ifndef SDL_VIDEO_RENDER_VULKAN +#define SDL_VIDEO_RENDER_VULKAN 1 +#endif #endif /* Enable system power support */