From fb075a2c52dd8502b208f82c6977e3d906b62021 Mon Sep 17 00:00:00 2001 From: Alex Spataru Date: Wed, 13 Oct 2021 03:13:56 -0500 Subject: [PATCH] Remove Vulkan because it is not included by default in Qt --- src/Misc/ModuleManager.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Misc/ModuleManager.cpp b/src/Misc/ModuleManager.cpp index 248920bd..986bb95c 100644 --- a/src/Misc/ModuleManager.cpp +++ b/src/Misc/ModuleManager.cpp @@ -79,12 +79,9 @@ ModuleManager::ModuleManager() QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL); break; case 1: - QQuickWindow::setGraphicsApi(QSGRendererInterface::Vulkan); - break; - case 2: QQuickWindow::setGraphicsApi(QSGRendererInterface::Software); break; - case 3: + case 2: #if defined(Q_OS_WIN) QQuickWindow::setGraphicsApi(QSGRendererInterface::Direct3D11); #elif defined(Q_OS_MAC) @@ -277,7 +274,6 @@ QVector ModuleManager::renderingEngines() const { QVector list; list.append("OpenGL"); - list.append("Vulkan"); list.append("Software"); #if defined(Q_OS_WIN) list.append("Direct3D");