Disable Vulkan

This commit is contained in:
Margen67 2022-03-25 09:56:13 -07:00 committed by Gliniak
parent 29174be454
commit 99e3a1a4b1
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@
#include "third_party/fmt/include/fmt/format.h" #include "third_party/fmt/include/fmt/format.h"
DEFINE_string(apu, "any", "Audio system. Use: [any, nop, sdl, xaudio2]", "APU"); DEFINE_string(apu, "any", "Audio system. Use: [any, nop, sdl, xaudio2]", "APU");
DEFINE_string(gpu, "any", "Graphics system. Use: [any, d3d12, vulkan, null]", DEFINE_string(gpu, "any", "Graphics system. Use: [any, d3d12, null]",
"GPU"); "GPU");
DEFINE_string(hid, "any", "Input system. Use: [any, nop, sdl, winkey, xinput]", DEFINE_string(hid, "any", "Input system. Use: [any, nop, sdl, winkey, xinput]",
"HID"); "HID");
@ -263,7 +263,7 @@ std::unique_ptr<gpu::GraphicsSystem> EmulatorApp::CreateGraphicsSystem() {
#if XE_PLATFORM_WIN32 #if XE_PLATFORM_WIN32
factory.Add<gpu::d3d12::D3D12GraphicsSystem>("d3d12"); factory.Add<gpu::d3d12::D3D12GraphicsSystem>("d3d12");
#endif // XE_PLATFORM_WIN32 #endif // XE_PLATFORM_WIN32
factory.Add<gpu::vulkan::VulkanGraphicsSystem>("vulkan"); //factory.Add<gpu::vulkan::VulkanGraphicsSystem>("vulkan");
factory.Add<gpu::null::NullGraphicsSystem>("null"); factory.Add<gpu::null::NullGraphicsSystem>("null");
return factory.Create(cvars::gpu); return factory.Create(cvars::gpu);
} }