mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-15 05:22:53 +08:00
Remove Vulkan because it is not included by default in Qt
This commit is contained in:
parent
6697fb5363
commit
fb075a2c52
@ -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<QString> ModuleManager::renderingEngines() const
|
||||
{
|
||||
QVector<QString> list;
|
||||
list.append("OpenGL");
|
||||
list.append("Vulkan");
|
||||
list.append("Software");
|
||||
#if defined(Q_OS_WIN)
|
||||
list.append("Direct3D");
|
||||
|
Loading…
x
Reference in New Issue
Block a user