diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-25 00:22:07 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-12-25 01:07:24 +0100 |
commit | 1b9e08ab7821815a7c2023e16c575b24d37049ba (patch) | |
tree | b608402862eed2e6e235877ce6e8c51201721134 /src/video_core/video_core.cpp | |
parent | Merge pull request #5217 from lat9nq/save-on-boot (diff) | |
download | yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar.gz yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar.bz2 yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar.lz yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar.xz yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.tar.zst yuzu-1b9e08ab7821815a7c2023e16c575b24d37049ba.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/video_core.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/video_core/video_core.cpp b/src/video_core/video_core.cpp index dd5cee4a1..837800bfe 100644 --- a/src/video_core/video_core.cpp +++ b/src/video_core/video_core.cpp @@ -11,9 +11,7 @@ #include "video_core/gpu_synch.h" #include "video_core/renderer_base.h" #include "video_core/renderer_opengl/renderer_opengl.h" -#ifdef HAS_VULKAN #include "video_core/renderer_vulkan/renderer_vulkan.h" -#endif #include "video_core/video_core.h" namespace { @@ -28,11 +26,9 @@ std::unique_ptr<VideoCore::RendererBase> CreateRenderer( case Settings::RendererBackend::OpenGL: return std::make_unique<OpenGL::RendererOpenGL>(telemetry_session, emu_window, cpu_memory, gpu, std::move(context)); -#ifdef HAS_VULKAN case Settings::RendererBackend::Vulkan: return std::make_unique<Vulkan::RendererVulkan>(telemetry_session, emu_window, cpu_memory, gpu, std::move(context)); -#endif default: return nullptr; } |