aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-20 06:20:46 -0700
committerJohannes Schickel2013-10-20 06:20:46 -0700
commitf20471d9624cd73d0568560ffa76d1ff74e3cd8d (patch)
treebb09e2589aadc7e92a185a38b95d0b3365c42ef2 /engines
parent4c3972d68a3a120bec6f7e327990949c82689792 (diff)
parent05c347fc8ad8edc990c9d6e7c15a12d93bd8a3a3 (diff)
downloadscummvm-rg350-f20471d9624cd73d0568560ffa76d1ff74e3cd8d.tar.gz
scummvm-rg350-f20471d9624cd73d0568560ffa76d1ff74e3cd8d.tar.bz2
scummvm-rg350-f20471d9624cd73d0568560ffa76d1ff74e3cd8d.zip
Merge pull request #408 from lordhoto/opengl-replacement
OpenGL revamp
Diffstat (limited to 'engines')
-rw-r--r--engines/engine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/engine.cpp b/engines/engine.cpp
index c84404cc68..52020c772e 100644
--- a/engines/engine.cpp
+++ b/engines/engine.cpp
@@ -183,7 +183,7 @@ void initCommonGFX(bool defaultTo1XScaler) {
g_system->setGraphicsMode(gfxMode.c_str());
// HACK: For OpenGL modes, we will still honor the graphics scale override
- if (defaultTo1XScaler && (gfxMode.equalsIgnoreCase("gl1") || gfxMode.equalsIgnoreCase("gl2") || gfxMode.equalsIgnoreCase("gl4")))
+ if (defaultTo1XScaler && (gfxMode.equalsIgnoreCase("opengl_linear") || gfxMode.equalsIgnoreCase("opengl_nearest")))
g_system->resetGraphicsScale();
}
}