From d12380f26be749e02f7632ea499e28d1be039406 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Fri, 23 Oct 2020 16:51:10 -0500 Subject: [PATCH] VideoCommon: rename USE_VULKAN to HAS_VULKAN in VideoBackendBase --- Source/Core/VideoCommon/VideoBackendBase.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Source/Core/VideoCommon/VideoBackendBase.cpp b/Source/Core/VideoCommon/VideoBackendBase.cpp index 690745f9c8..3042d1f09f 100644 --- a/Source/Core/VideoCommon/VideoBackendBase.cpp +++ b/Source/Core/VideoCommon/VideoBackendBase.cpp @@ -37,7 +37,9 @@ #include "VideoBackends/OGL/VideoBackend.h" #include "VideoBackends/Software/VideoBackend.h" #endif +#ifdef HAS_VULKAN #include "VideoBackends/Vulkan/VideoBackend.h" +#endif #include "VideoCommon/AsyncRequests.h" #include "VideoCommon/BPStructs.h" @@ -225,7 +227,7 @@ const std::vector>& VideoBackendBase::GetAvail backends.push_back(std::make_unique()); backends.push_back(std::make_unique()); #endif -#ifdef USE_VULKAN +#ifdef HAS_VULKAN backends.push_back(std::make_unique()); #endif #ifdef HAS_OPENGL