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.
This commit is contained in:
Michael Maltese
2016-10-06 16:47:03 -07:00
parent 3245ca236a
commit f301ebf780
3 changed files with 10 additions and 1 deletions

View File

@ -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>());