build: Fix compiling citra-qt for iOS. (#6983)
* build: Fix compiling citra-qt for iOS. * Update src/citra_qt/configuration/configure_general.cpp Co-authored-by: Tobias <thm.frey@gmail.com> --------- Co-authored-by: Tobias <thm.frey@gmail.com>
This commit is contained in:
parent
d1c16bad78
commit
28c542c2c2
14 changed files with 57 additions and 38 deletions
|
@ -292,7 +292,11 @@ public:
|
|||
if (GetWindowSystemType() == Frontend::WindowSystemType::Wayland) {
|
||||
setAttribute(Qt::WA_DontCreateNativeAncestors);
|
||||
}
|
||||
#ifdef __APPLE__
|
||||
windowHandle()->setSurfaceType(QWindow::MetalSurface);
|
||||
#else
|
||||
windowHandle()->setSurfaceType(QWindow::VulkanSurface);
|
||||
#endif
|
||||
}
|
||||
|
||||
QPaintEngine* paintEngine() const override {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue