mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 12:17:12 +00:00
mac/vulkan: remove old deprecated VK_MVK_macos_surface extension remains
This commit is contained in:
parent
0897604298
commit
be6c22f93b
@ -23,7 +23,6 @@
|
|||||||
#define VK_USE_PLATFORM_WIN32_KHR
|
#define VK_USE_PLATFORM_WIN32_KHR
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_COCOA
|
#if HAVE_COCOA
|
||||||
#define VK_USE_PLATFORM_MACOS_MVK
|
|
||||||
#define VK_USE_PLATFORM_METAL_EXT
|
#define VK_USE_PLATFORM_METAL_EXT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@ static bool mac_vk_init(struct ra_ctx *ctx)
|
|||||||
goto error;
|
goto error;
|
||||||
|
|
||||||
VkMetalSurfaceCreateInfoEXT mac_info = {
|
VkMetalSurfaceCreateInfoEXT mac_info = {
|
||||||
.sType = VK_STRUCTURE_TYPE_MACOS_SURFACE_CREATE_INFO_MVK,
|
.sType = VK_STRUCTURE_TYPE_METAL_SURFACE_CREATE_INFO_EXT,
|
||||||
.pNext = NULL,
|
.pNext = NULL,
|
||||||
.flags = 0,
|
.flags = 0,
|
||||||
.pLayer = p->vo_mac.layer,
|
.pLayer = p->vo_mac.layer,
|
||||||
|
Loading…
Reference in New Issue
Block a user