aboutsummaryrefslogtreecommitdiff
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
commit066c63571bca4b845e8aaa823c2669337bb44ae2 (patch)
tree97d0273d8a5b7f6ec2a2d1db5698619d0851571b /src/yuzu/bootmanager.cpp
parent9465d85ef1c248749bc7a3002c64d243bac4d3c4 (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 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) {