mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 21:47:44 +00:00
vulkan: Initial Vulkan support!
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it into revision control.
This commit is contained in:
@@ -174,6 +174,14 @@
|
||||
#define SDL_VIDEO_OPENGL_GLX 1
|
||||
#endif
|
||||
|
||||
/* enable Vulkan surface support */
|
||||
#if TARGET_CPU_X86_64
|
||||
/* Metal/MoltenVK/Vulkan not supported on 32-bit architectures. */
|
||||
#define SDL_VIDEO_VULKAN_SURFACE 1
|
||||
#else
|
||||
#define SDL_VIDEO_VULKAN_SURFACE 0
|
||||
#endif
|
||||
|
||||
/* Enable system power support */
|
||||
#define SDL_POWER_MACOSX 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user