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

This commit is contained in:
Alex Szpakowski committed 2019-08-05 12:35:32 -03:00
1 parent f3683d3a09
commit aebaa316c7
25 files changed
+412 -94

No files matched your search

+4
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