Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h.

This commit is contained in:
Alex Szpakowski 2019-08-05 12:35:32 -03:00
parent 84cb66b8a8
commit 0ba98cae5f
25 changed files with 412 additions and 94 deletions

View file

@ -181,6 +181,10 @@
#define SDL_VIDEO_VULKAN 1
#endif
#if SDL_PLATFORM_SUPPORTS_METAL
#define SDL_VIDEO_METAL 1
#endif
/* Enable system power support */
#define SDL_POWER_UIKIT 1