Qt: Fix compiling without Vulkan renderer

This commit is contained in:
Connor McLaughlin 2022-04-03 15:32:08 +10:00 committed by refractionpcsx2
parent d387a1f4dc
commit 0914b2a474
1 changed files with 4 additions and 0 deletions

View File

@ -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: