diff options
author | Thierry Crozat | 2016-10-12 22:32:36 +0100 |
---|---|---|
committer | Thierry Crozat | 2016-10-13 01:45:01 +0100 |
commit | 3e08c33c352b3d28c75e818fe601904a26d03d0f (patch) | |
tree | 31729bb0266bd4c824786fa5332aec6aeff61efe /base/main.cpp | |
parent | 30aae5178a1ef8db768dbf9f5e481161489365c3 (diff) | |
download | scummvm-rg350-3e08c33c352b3d28c75e818fe601904a26d03d0f.tar.gz scummvm-rg350-3e08c33c352b3d28c75e818fe601904a26d03d0f.tar.bz2 scummvm-rg350-3e08c33c352b3d28c75e818fe601904a26d03d0f.zip |
GUI: Add checkbox and config option to enable/disable graphics filtering
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp index 7807ddff7d..ca3a764f3a 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -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 |