mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-27 06:22:49 +00:00
yuzu/bootmanager: Define Vulkan widget only when enabled
This commit is contained in:
parent
252415a163
commit
a7beabb68f
|
@ -214,6 +214,7 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef HAS_VULKAN
|
||||||
class GVKWidgetInternal final : public GWidgetInternal {
|
class GVKWidgetInternal final : public GWidgetInternal {
|
||||||
public:
|
public:
|
||||||
GVKWidgetInternal(GRenderWindow* parent, QVulkanInstance* instance) : GWidgetInternal(parent) {
|
GVKWidgetInternal(GRenderWindow* parent, QVulkanInstance* instance) : GWidgetInternal(parent) {
|
||||||
|
@ -222,6 +223,7 @@ public:
|
||||||
}
|
}
|
||||||
~GVKWidgetInternal() override = default;
|
~GVKWidgetInternal() override = default;
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
GRenderWindow::GRenderWindow(GMainWindow* parent, EmuThread* emu_thread)
|
GRenderWindow::GRenderWindow(GMainWindow* parent, EmuThread* emu_thread)
|
||||||
: QWidget(parent), emu_thread(emu_thread) {
|
: QWidget(parent), emu_thread(emu_thread) {
|
||||||
|
|
Loading…
Reference in a new issue