Prevent turning on compute renderer on macOS

This commit is contained in:
Nadia Holmquist Pedersen 2024-05-14 11:39:06 +02:00
parent 442661747e
commit 5ab8161a21
1 changed files with 4 additions and 0 deletions

View File

@ -75,6 +75,10 @@ VideoSettingsDialog::VideoSettingsDialog(QWidget* parent) : QDialog(parent), ui(
ui->rb3DOpenGL->setEnabled(false);
#endif
#ifdef __APPLE__
ui->rb3DCompute->setEnabled(false);
#endif
ui->cbGLDisplay->setChecked(Config::ScreenUseGL != 0);
ui->cbVSync->setChecked(Config::ScreenVSync != 0);