Remove redundant check when base requirements aren't met

This commit is contained in:
Gess1t 2024-10-28 18:58:42 +01:00
parent 7fa6f73b0c
commit f0986fd32d

View File

@ -59,8 +59,7 @@ void VideoSettingsDialog::setEnabled()
ogldisplay = false; ogldisplay = false;
ui->rb3DOpenGL->setEnabled(false); ui->rb3DOpenGL->setEnabled(false);
if (renderer == renderer3D_OpenGL) ui->rb3DSoftware->setChecked(true);
ui->rb3DSoftware->setChecked(true);
} }
cfg.SetInt("3D.Renderer", renderer); cfg.SetInt("3D.Renderer", renderer);