COMMON: Refactor VSync handling to match the other options

This commit is contained in:
Cameron Cawley 2023-01-03 16:28:14 +00:00 committed by Eugene Sandulenko
parent 40fc49256d
commit 138a983d80
14 changed files with 109 additions and 32 deletions

View file

@ -364,6 +364,7 @@ static void setupGraphics(OSystem &system) {
system.setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio"));
system.setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen"));
system.setFeatureState(OSystem::kFeatureFilteringMode, ConfMan.getBool("filtering"));
system.setFeatureState(OSystem::kFeatureVSync, ConfMan.getBool("vsync"));
system.endGFXTransaction();
system.applyBackendSettings();