From a7beabb68f73d087248e794d01c6225f771a51dd Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Wed, 29 Jan 2020 19:20:12 -0300 Subject: [PATCH] yuzu/bootmanager: Define Vulkan widget only when enabled --- src/yuzu/bootmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp index 67ca590355..55a37fffa5 100644 --- a/src/yuzu/bootmanager.cpp +++ b/src/yuzu/bootmanager.cpp @@ -214,6 +214,7 @@ public: } }; +#ifdef HAS_VULKAN class GVKWidgetInternal final : public GWidgetInternal { public: GVKWidgetInternal(GRenderWindow* parent, QVulkanInstance* instance) : GWidgetInternal(parent) { @@ -222,6 +223,7 @@ public: } ~GVKWidgetInternal() override = default; }; +#endif GRenderWindow::GRenderWindow(GMainWindow* parent, EmuThread* emu_thread) : QWidget(parent), emu_thread(emu_thread) {