mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Cocoa: Add support for VK_EXT_metal_surface
This adds optional support for the VK_EXT_metal_surface instance
extension.
Closes #1619.
(cherry picked from commit c5cb4a253a)
This commit is contained in:
committed by
Camilla Löwy
parent
977e2b51b0
commit
50f3979dfd
@@ -145,6 +145,8 @@ elseif (WIN32)
|
||||
elseif (APPLE)
|
||||
set(_GLFW_COCOA 1)
|
||||
message(STATUS "Using Cocoa for window creation")
|
||||
set(VK_USE_PLATFORM_METAL_EXT 1)
|
||||
message(STATUS "Using VK_EXT_metal_surface")
|
||||
elseif (UNIX)
|
||||
set(_GLFW_X11 1)
|
||||
message(STATUS "Using X11 for window creation")
|
||||
|
||||
Reference in New Issue
Block a user