diff options
| author | Michael Maltese <michaeljosephmaltese@gmail.com> | 2016-10-06 16:47:03 -0700 |
|---|---|---|
| committer | Michael Maltese <michaeljosephmaltese@gmail.com> | 2016-10-06 16:53:55 -0700 |
| commit | f301ebf780efc6216e6548d7985a153cc986bab4 (patch) | |
| tree | 6d1ad47d48368e3d9a1996c389b2012ce20701ce /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | 3245ca236ae076f5fa08ce6ce72b06d9c30a6ece (diff) | |
Don't build Vulkan video backend on macOS
There's no official implementation of the Vulkan API,
and Dolphin currently isn't set-up to work with the
single, commercially-available third-party implementation.
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 3e07f66eb8..4daac1b194 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -15,7 +15,9 @@ #include "VideoBackends/Null/VideoBackend.h" #include "VideoBackends/OGL/VideoBackend.h" #include "VideoBackends/Software/VideoBackend.h" +#ifndef __APPLE__ #include "VideoBackends/Vulkan/VideoBackend.h" +#endif #include "VideoCommon/VideoBackendBase.h" @@ -49,7 +51,9 @@ void VideoBackendBase::PopulateList() g_available_video_backends.push_back(std::make_unique<DX12::VideoBackend>()); } #endif +#ifndef __APPLE__ g_available_video_backends.push_back(std::make_unique<Vulkan::VideoBackend>()); +#endif g_available_video_backends.push_back(std::make_unique<SW::VideoSoftware>()); g_available_video_backends.push_back(std::make_unique<Null::VideoBackend>()); |
