1
0
Fork 0
mirror of https://github.com/melonDS-emu/melonDS.git synced 2025-03-06 21:00:31 +01:00
This commit is contained in:
FireNX70 2025-02-22 15:40:03 +01:00 committed by GitHub
commit 8eb908c5eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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);
}