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);