From 325cdff399896fe84e6ecb98a3ab3948f971dc64 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Fri, 20 Nov 2020 16:33:22 -0700 Subject: [PATCH] Correct macOS surface extension. The extension name is VK_EXT_metal_surface, not KHR --- src/VkBootstrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index d6034b5..c91071b 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -635,7 +635,7 @@ detail::Result InstanceBuilder::build () const { added_window_exts = check_add_window_ext ("VK_KHR_xlib_surface") || added_window_exts; added_window_exts = check_add_window_ext ("VK_KHR_wayland_surface") || added_window_exts; #elif defined(__APPLE__) - bool added_window_exts = check_add_window_ext ("VK_KHR_metal_surface"); + bool added_window_exts = check_add_window_ext ("VK_EXT_metal_surface"); #endif if (!khr_surface_added || !added_window_exts) return make_error_code (InstanceError::windowing_extensions_not_present);