mirror of https://github.com/PCSX2/pcsx2.git
Qt: Fix compiling without Vulkan renderer
This commit is contained in:
parent
d387a1f4dc
commit
0914b2a474
|
@ -24,7 +24,9 @@
|
|||
#include "pcsx2/GS/GS.h"
|
||||
#include "pcsx2/GS/GSUtil.h"
|
||||
|
||||
#ifdef ENABLE_VULKAN
|
||||
#include "Frontend/VulkanHostDisplay.h"
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "Frontend/D3D11HostDisplay.h"
|
||||
|
@ -419,9 +421,11 @@ void GraphicsSettingsWidget::updateRendererDependentOptions()
|
|||
break;
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_VULKAN
|
||||
case GSRendererType::VK:
|
||||
modes = VulkanHostDisplay::StaticGetAdapterAndModeList(nullptr);
|
||||
break;
|
||||
#endif
|
||||
|
||||
case GSRendererType::OGL:
|
||||
case GSRendererType::SW:
|
||||
|
|
Loading…
Reference in New Issue