CMake: Add option to enable/disable Vulkan video backend

This commit is contained in:
mazes-80
2018-09-03 18:09:23 +02:00
committed by Léo Lam
parent 908d6f8fa0
commit f375ee72a2
4 changed files with 16 additions and 3 deletions

View File

@ -225,7 +225,9 @@ 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 USE_VULKAN
backends.push_back(std::make_unique<Vulkan::VideoBackend>());
#endif
#ifdef HAS_OPENGL
backends.push_back(std::make_unique<SW::VideoSoftware>());
#endif