Use default Graphics API for all platforms

This commit is contained in:
Agel committed 2026-10-29 12:28:05 +01:00
1 parent d9a0991f9b
commit 306d4cac5c
2 files changed
-8

No files matched your search

-7
View File
@@ -72,13 +72,6 @@ int main(int argc, char *argv[])
qInstallMessageHandler(myMessageHandler);
QSettings::setDefaultFormat(QSettings::IniFormat);
// Select graphics API per platform
#if defined(Q_OS_MACOS)
QQuickWindow::setGraphicsApi(QSGRendererInterface::Metal);
#else
QQuickWindow::setGraphicsApi(QSGRendererInterface::Vulkan);
#endif
QApplication app(argc, argv);
QApplication::setApplicationName(QStringLiteral("Asteria"));
QApplication::setOrganizationName(QStringLiteral("Asteria"));