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 f3683d3a09
commit aebaa316c7
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