mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-03-06 21:00:31 +01:00
Merge c6759c5fa6
into 63b468927e
This commit is contained in:
commit
8eb908c5eb
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue