From be6c22f93b41e1962b294f9366642444084199e4 Mon Sep 17 00:00:00 2001 From: der richter Date: Thu, 29 Feb 2024 01:54:46 +0100 Subject: [PATCH] mac/vulkan: remove old deprecated VK_MVK_macos_surface extension remains --- video/out/vulkan/common.h | 1 - video/out/vulkan/context_mac.m | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/video/out/vulkan/common.h b/video/out/vulkan/common.h index d006942d41..e75cb228f8 100644 --- a/video/out/vulkan/common.h +++ b/video/out/vulkan/common.h @@ -23,7 +23,6 @@ #define VK_USE_PLATFORM_WIN32_KHR #endif #if HAVE_COCOA -#define VK_USE_PLATFORM_MACOS_MVK #define VK_USE_PLATFORM_METAL_EXT #endif diff --git a/video/out/vulkan/context_mac.m b/video/out/vulkan/context_mac.m index 041888a7c2..38b34ff029 100644 --- a/video/out/vulkan/context_mac.m +++ b/video/out/vulkan/context_mac.m @@ -56,7 +56,7 @@ static bool mac_vk_init(struct ra_ctx *ctx) goto error; VkMetalSurfaceCreateInfoEXT mac_info = { - .sType = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK, + .sType = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT, .pNext = NULL, .flags = 0, .pLayer = p->vo_mac.layer,