From a056d0f39a16e9c38ef28f8ff0c5b20a1f32c3a2 Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Fri, 20 Feb 2026 10:32:20 -0500 Subject: [PATCH] cocoa: Don't include KHR_portability_enumeration by default. This is only useful if the application knows to add the flag introduced by this extension, and at that point the application can also include the extension themselves. Case in point: SDL_gpu_vulkan was already doing this! --- src/video/cocoa/SDL_cocoavulkan.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/SDL_cocoavulkan.m b/src/video/cocoa/SDL_cocoavulkan.m index 6c4260a3a2..4aa815ada2 100644 --- a/src/video/cocoa/SDL_cocoavulkan.m +++ b/src/video/cocoa/SDL_cocoavulkan.m @@ -165,7 +165,7 @@ void Cocoa_Vulkan_UnloadLibrary(SDL_VideoDevice *_this) char const * const *Cocoa_Vulkan_GetInstanceExtensions(SDL_VideoDevice *_this, Uint32 *count) { static const char *const extensionsForCocoa[] = { - VK_KHR_SURFACE_EXTENSION_NAME, VK_EXT_METAL_SURFACE_EXTENSION_NAME, VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME + VK_KHR_SURFACE_EXTENSION_NAME, VK_EXT_METAL_SURFACE_EXTENSION_NAME }; if(count) { *count = SDL_arraysize(extensionsForCocoa);