diff options
author | Steveice10 <1269164+Steveice10@users.noreply.github.com> | 2023-07-01 08:35:07 +0200 |
---|---|---|
committer | Steveice10 <1269164+Steveice10@users.noreply.github.com> | 2023-07-01 08:46:03 +0200 |
commit | e146a0034552200cf19740f56fb05153f465a51e (patch) | |
tree | 2cf0606fda63cb50463afe8a7c26b958a2edc89d /src/video_core/vulkan_common/vulkan_instance.cpp | |
parent | Merge pull request #10953 from FernandoS27/oh-oopsies-yfc (diff) | |
download | yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar.gz yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar.bz2 yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar.lz yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar.xz yuzu-e146a0034552200cf19740f56fb05153f465a51e.tar.zst yuzu-e146a0034552200cf19740f56fb05153f465a51e.zip |
Diffstat (limited to 'src/video_core/vulkan_common/vulkan_instance.cpp')
-rw-r--r-- | src/video_core/vulkan_common/vulkan_instance.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/vulkan_common/vulkan_instance.cpp b/src/video_core/vulkan_common/vulkan_instance.cpp index 7624a9b32..6a294c1da 100644 --- a/src/video_core/vulkan_common/vulkan_instance.cpp +++ b/src/video_core/vulkan_common/vulkan_instance.cpp @@ -19,11 +19,9 @@ #include <windows.h> // ensure include order #include <vulkan/vulkan_win32.h> -#elif defined(__APPLE__) -#include <vulkan/vulkan_macos.h> #elif defined(__ANDROID__) #include <vulkan/vulkan_android.h> -#else +#elif !defined(__APPLE__) #include <X11/Xlib.h> #include <vulkan/vulkan_wayland.h> #include <vulkan/vulkan_xlib.h> @@ -68,7 +66,7 @@ namespace { break; #elif defined(__APPLE__) case Core::Frontend::WindowSystemType::Cocoa: - extensions.push_back(VK_MVK_MACOS_SURFACE_EXTENSION_NAME); + extensions.push_back(VK_EXT_METAL_SURFACE_EXTENSION_NAME); break; #elif defined(__ANDROID__) case Core::Frontend::WindowSystemType::Android: |