1
0
Fork 1
forked from suyu/suyu

yuzu/bootmanager: Define Vulkan widget only when enabled

This commit is contained in:
ReinUsesLisp 2020-01-29 19:20:12 -03:00
parent 252415a163
commit a7beabb68f

View file

@ -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) {