Revert "qt: Disable OpenGL 3.0 renderer for macOS."

This reverts commit d3b00ff27b.
This commit is contained in:
ts-korhonen
2022-02-28 08:43:14 +02:00
parent d3b00ff27b
commit 9af1d0cc5f
4 changed files with 8 additions and 63 deletions

View File

@@ -231,9 +231,6 @@ MainWindow::MainWindow(QWidget *parent) :
ui->actionHardware_Renderer_OpenGL_ES->setVisible(QOpenGLContext::openGLModuleType() == QOpenGLContext::LibGLES);
if (QOpenGLContext::openGLModuleType() != QOpenGLContext::LibGLES && vid_api == 2) vid_api = 1;
#endif
#ifdef Q_OS_MACOS
ui->actionOpenGL_3_0_Core->setVisible(false);
#endif
if (QApplication::platformName().contains("eglfs") && vid_api >= 1) {
fprintf(stderr, "OpenGL renderers are unsupported on EGLFS.\n");