diff --git a/src/qt/qt_main.cpp b/src/qt/qt_main.cpp index cffae1597..89525635f 100644 --- a/src/qt/qt_main.cpp +++ b/src/qt/qt_main.cpp @@ -835,7 +835,7 @@ main(int argc, char *argv[]) /* Set the PAUSE mode depending on the renderer. */ #ifdef USE_VNC - if (vid_api == 5) + if (vid_api == 3) plat_pause(1); else #endif diff --git a/src/qt/qt_mainwindow.cpp b/src/qt/qt_mainwindow.cpp index e7835b5a4..14bf85f27 100644 --- a/src/qt/qt_mainwindow.cpp +++ b/src/qt/qt_mainwindow.cpp @@ -429,7 +429,7 @@ MainWindow::MainWindow(QWidget *parent) } #ifndef USE_VNC - if (vid_api == 5) + if (vid_api == 3) vid_api = 0; ui->actionVNC->setVisible(false); #endif @@ -450,7 +450,7 @@ MainWindow::MainWindow(QWidget *parent) if (!vulkanAvailable) #endif { - if (vid_api == 4) + if (vid_api == 2) vid_api = 0; ui->actionVulkan->setVisible(false); } @@ -465,7 +465,7 @@ MainWindow::MainWindow(QWidget *parent) connect(actGroup, &QActionGroup::triggered, [this](QAction *action) { vid_api = action->property("vid_api").toInt(); #ifdef USE_VNC - if (vnc_enabled && vid_api != 5) { + if (vnc_enabled && vid_api != 3) { startblit(); vnc_enabled = 0; vnc_close(); diff --git a/src/qt/qt_mainwindow.ui b/src/qt/qt_mainwindow.ui index 7f443495c..63bc0b01b 100644 --- a/src/qt/qt_mainwindow.ui +++ b/src/qt/qt_mainwindow.ui @@ -397,28 +397,6 @@ 0 - - - true - - - Qt (&OpenGL) - - - 1 - - - - - true - - - Qt (OpenGL &ES) - - - 2 - - true @@ -749,7 +727,7 @@ Open&GL (3.0 Core) - 3 + 1 @@ -841,7 +819,7 @@ &Vulkan - 4 + 2 @@ -865,7 +843,7 @@ VNC - 5 + 3