GUI: Add checkbox and config option to enable/disable graphics filtering

This commit is contained in:
Thierry Crozat 2016-10-12 22:32:36 +01:00
parent 30aae5178a
commit 3e08c33c35
12 changed files with 61 additions and 1 deletions

View file

@ -290,6 +290,8 @@ static void setupGraphics(OSystem &system) {
system.setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio"));
if (ConfMan.hasKey("fullscreen"))
system.setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen"));
if (ConfMan.hasKey("filtering"))
system.setFeatureState(OSystem::kFeatureFilteringMode, ConfMan.getBool("filtering"));
system.endGFXTransaction();
// When starting up launcher for the first time, the user might have specified