Add GPU to iOS build config

This commit is contained in:
Caleb Cornett 2024-10-28 18:01:38 -04:00 committed by Sam Lantinga
parent 54836050c9
commit b2f216f9e2

View File

@ -196,16 +196,13 @@
#define SDL_PLATFORM_SUPPORTS_METAL 0
#endif
#if SDL_PLATFORM_SUPPORTS_METAL
#define SDL_VIDEO_RENDER_METAL 1
#endif
#if SDL_PLATFORM_SUPPORTS_METAL
#define SDL_VIDEO_VULKAN 1
#endif
#if SDL_PLATFORM_SUPPORTS_METAL
#define SDL_VIDEO_METAL 1
#define SDL_GPU_METAL 1
#define SDL_VIDEO_RENDER_METAL 1
#define SDL_VIDEO_VULKAN 1
#define SDL_GPU_VULKAN 1
#define SDL_VIDEO_RENDER_GPU 1
#endif
/* Enable system power support */