mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-02 07:27:19 +08:00
Add GPU to iOS build config
This commit is contained in:
committed by
Sam Lantinga
parent
54836050c9
commit
b2f216f9e2
@@ -196,16 +196,13 @@
|
|||||||
#define SDL_PLATFORM_SUPPORTS_METAL 0
|
#define SDL_PLATFORM_SUPPORTS_METAL 0
|
||||||
#endif
|
#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
|
#if SDL_PLATFORM_SUPPORTS_METAL
|
||||||
#define SDL_VIDEO_METAL 1
|
#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
|
#endif
|
||||||
|
|
||||||
/* Enable system power support */
|
/* Enable system power support */
|
||||||
|
|||||||
Reference in New Issue
Block a user