summaryrefslogtreecommitdiff
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-29 19:20:12 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-29 19:20:12 -0300
commita7beabb68f73d087248e794d01c6225f771a51dd (patch)
tree97d0273d8a5b7f6ec2a2d1db5698619d0851571b /src/yuzu/bootmanager.cpp
parent252415a1637834d2e42019aaefff0ca3696c0626 (diff)
yuzu/bootmanager: Define Vulkan widget only when enabled
Diffstat (limited to 'src/yuzu/bootmanager.cpp')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index 67ca59035..55a37fffa 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) {