VideoCommon: rename USE_VULKAN to HAS_VULKAN in VideoBackendBase
This commit is contained in:
parent
285b926e92
commit
d12380f26b
|
@ -37,7 +37,9 @@
|
||||||
#include "VideoBackends/OGL/VideoBackend.h"
|
#include "VideoBackends/OGL/VideoBackend.h"
|
||||||
#include "VideoBackends/Software/VideoBackend.h"
|
#include "VideoBackends/Software/VideoBackend.h"
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef HAS_VULKAN
|
||||||
#include "VideoBackends/Vulkan/VideoBackend.h"
|
#include "VideoBackends/Vulkan/VideoBackend.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "VideoCommon/AsyncRequests.h"
|
#include "VideoCommon/AsyncRequests.h"
|
||||||
#include "VideoCommon/BPStructs.h"
|
#include "VideoCommon/BPStructs.h"
|
||||||
|
@ -225,7 +227,7 @@ const std::vector<std::unique_ptr<VideoBackendBase>>& VideoBackendBase::GetAvail
|
||||||
backends.push_back(std::make_unique<DX11::VideoBackend>());
|
backends.push_back(std::make_unique<DX11::VideoBackend>());
|
||||||
backends.push_back(std::make_unique<DX12::VideoBackend>());
|
backends.push_back(std::make_unique<DX12::VideoBackend>());
|
||||||
#endif
|
#endif
|
||||||
#ifdef USE_VULKAN
|
#ifdef HAS_VULKAN
|
||||||
backends.push_back(std::make_unique<Vulkan::VideoBackend>());
|
backends.push_back(std::make_unique<Vulkan::VideoBackend>());
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAS_OPENGL
|
#ifdef HAS_OPENGL
|
||||||
|
|
Loading…
Reference in New Issue