mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-01 09:34:33 +00:00
android: enable vulkan renderer
This commit is contained in:
committed by
Sam Lantinga
parent
f13be04980
commit
0506cf18ab
@@ -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()
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user