Fixed testvulkan on macOS (thanks @proton991!)

Fixes https://github.com/libsdl-org/SDL/issues/10351
This commit is contained in:
Sam Lantinga committed 2024-07-23 08:17:22 -07:00
1 parent 5c00e54073
commit b499c54af4
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -165,7 +165,7 @@ 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_SURFACE_EXTENSION_NAME, VK_EXT_METAL_SURFACE_EXTENSION_NAME, VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME
};
if(count) {
*count = SDL_arraysize(extensionsForCocoa);