This commit is contained in:
FireNX70 2025-04-14 02:21:03 +00:00 committed by GitHub
commit a2d3174230
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -157,6 +157,7 @@ void VideoSettingsDialog::onChange3DRenderer(int renderer)
auto& cfg = emuInstance->getGlobalConfig();
cfg.SetInt("3D.Renderer", renderer);
setVsyncControlEnable(UsesGL());
setEnabled();
emit updateVideoSettings(old_gl != UsesGL());
@ -209,8 +210,6 @@ void VideoSettingsDialog::on_cbxGLResolution_currentIndexChanged(int idx)
auto& cfg = emuInstance->getGlobalConfig();
cfg.SetInt("3D.GL.ScaleFactor", idx+1);
setVsyncControlEnable(UsesGL());
emit updateVideoSettings(false);
}