Fix VSync control being enabled in the wrong place
This commit is contained in:
parent
626d2379bc
commit
c6759c5fa6
|
@ -151,6 +151,7 @@ void VideoSettingsDialog::onChange3DRenderer(int renderer)
|
|||
auto& cfg = emuInstance->getGlobalConfig();
|
||||
cfg.SetInt("3D.Renderer", renderer);
|
||||
|
||||
setVsyncControlEnable(UsesGL());
|
||||
setEnabled();
|
||||
|
||||
emit updateVideoSettings(old_gl != UsesGL());
|
||||
|
@ -203,8 +204,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…
Reference in New Issue