From 3e08c33c352b3d28c75e818fe601904a26d03d0f Mon Sep 17 00:00:00 2001 From: Thierry Crozat Date: Wed, 12 Oct 2016 22:32:36 +0100 Subject: GUI: Add checkbox and config option to enable/disable graphics filtering --- base/main.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/main.cpp') 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 -- cgit v1.2.3