diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2020-04-08 00:30:40 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-08 00:30:40 +1000 |
| commit | 960ba4fe5e243056c3ef8a71f5298dc48722d29c (patch) | |
| tree | 1c26191fd452ff8dd74a9cb230e912cd8861fb9d /Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | |
| parent | 4ff855921e221f944d5ce22074e86096474d4ea6 (diff) | |
| parent | a2f4fafe86b8407ecbe1228257ab993fd2c1b815 (diff) | |
Merge pull request #8728 from stenzek/update-mvk
Vulkan: Switch from vkCreateMacOSSurfaceMVK() to vkCreateMetalSurfaceEXT() and Update MoltenVK
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/VulkanContext.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Vulkan/VulkanContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp index 4feb4a85b2..c0fca1008c 100644 --- a/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp +++ b/Source/Core/VideoBackends/Vulkan/VulkanContext.cpp @@ -211,8 +211,8 @@ bool VulkanContext::SelectInstanceExtensions(std::vector<const char*>* extension return false; } #endif -#if defined(VK_USE_PLATFORM_MACOS_MVK) - if (wstype == WindowSystemType::MacOS && !AddExtension(VK_MVK_MACOS_SURFACE_EXTENSION_NAME, true)) +#if defined(VK_USE_PLATFORM_METAL_EXT) + if (wstype == WindowSystemType::MacOS && !AddExtension(VK_EXT_METAL_SURFACE_EXTENSION_NAME, true)) { return false; } |
