Merge c6759c5fa6
into e099cfdc5a
This commit is contained in:
commit
f353993b07
|
@ -157,6 +157,7 @@ void VideoSettingsDialog::onChange3DRenderer(int renderer)
|
||||||
auto& cfg = emuInstance->getGlobalConfig();
|
auto& cfg = emuInstance->getGlobalConfig();
|
||||||
cfg.SetInt("3D.Renderer", renderer);
|
cfg.SetInt("3D.Renderer", renderer);
|
||||||
|
|
||||||
|
setVsyncControlEnable(UsesGL());
|
||||||
setEnabled();
|
setEnabled();
|
||||||
|
|
||||||
emit updateVideoSettings(old_gl != UsesGL());
|
emit updateVideoSettings(old_gl != UsesGL());
|
||||||
|
@ -209,8 +210,6 @@ void VideoSettingsDialog::on_cbxGLResolution_currentIndexChanged(int idx)
|
||||||
auto& cfg = emuInstance->getGlobalConfig();
|
auto& cfg = emuInstance->getGlobalConfig();
|
||||||
cfg.SetInt("3D.GL.ScaleFactor", idx+1);
|
cfg.SetInt("3D.GL.ScaleFactor", idx+1);
|
||||||
|
|
||||||
setVsyncControlEnable(UsesGL());
|
|
||||||
|
|
||||||
emit updateVideoSettings(false);
|
emit updateVideoSettings(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue