diff options
| author | Josh <36666883+Hibyehello@users.noreply.github.com> | 2022-09-19 11:28:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-19 11:28:34 -0500 |
| commit | ef13a54b0a8fabac17beed6328b2e60e83fa60c0 (patch) | |
| tree | 8660e1bbfa12f8cfa87373faa90103ba2ce32cf6 /Source/Core/VideoCommon/VideoBackendBase.cpp | |
| parent | 6f4f5b0b7b62b3a1eb9d0e069b38de1bbedde6c6 (diff) | |
VideoBackends - Enable Metal without Vulkan
Diffstat (limited to 'Source/Core/VideoCommon/VideoBackendBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VideoBackendBase.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 2a3c15db0a..b385883093 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -226,11 +226,13 @@ const std::vector<std::unique_ptr<VideoBackendBase>>& VideoBackendBase::GetAvail backends.push_back(std::make_unique<DX11::VideoBackend>()); backends.push_back(std::make_unique<DX12::VideoBackend>()); #endif +#ifdef __APPLE__ + backends.push_back(std::make_unique<Metal::VideoBackend>()); +#endif #ifdef HAS_VULKAN #ifdef __APPLE__ // Emplace the Vulkan backend at the beginning so it takes precedence over OpenGL. backends.emplace(backends.begin(), std::make_unique<Vulkan::VideoBackend>()); - backends.push_back(std::make_unique<Metal::VideoBackend>()); #else backends.push_back(std::make_unique<Vulkan::VideoBackend>()); #endif |
