aboutsummaryrefslogtreecommitdiff
path: root/base/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/main.cpp')
-rw-r--r--base/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index cbf2e235c3..c43b865251 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -296,6 +296,8 @@ static void setupGraphics(OSystem &system) {
system.setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen"));
if (ConfMan.hasKey("filtering"))
system.setFeatureState(OSystem::kFeatureFilteringMode, ConfMan.getBool("filtering"));
+ if (ConfMan.hasKey("stretch_mode"))
+ system.setStretchMode(ConfMan.get("stretch_mode").c_str());
system.endGFXTransaction();
// When starting up launcher for the first time, the user might have specified