aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorMax Horn2006-02-17 00:01:18 +0000
committerMax Horn2006-02-17 00:01:18 +0000
commita96760a2fdf32a1dc3c6cb44cfd247e4b1b3ab79 (patch)
tree499b85db76c71d966c30aa0b35deb35a68642a0c /engines/scumm
parentfde1da92f068f700d82774360dd6cd05c6c0adcc (diff)
downloadscummvm-rg350-a96760a2fdf32a1dc3c6cb44cfd247e4b1b3ab79.tar.gz
scummvm-rg350-a96760a2fdf32a1dc3c6cb44cfd247e4b1b3ab79.tar.bz2
scummvm-rg350-a96760a2fdf32a1dc3c6cb44cfd247e4b1b3ab79.zip
Reduced use of GF_DEFAULT_TO_1X_SCALER in favor of a new param to Engine::initCommonGFX; added a TODO stating that it should eventually be removed completly
svn-id: r20738
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/scumm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/scumm.cpp b/engines/scumm/scumm.cpp
index 4d290108bc..1c3b8b36ae 100644
--- a/engines/scumm/scumm.cpp
+++ b/engines/scumm/scumm.cpp
@@ -1811,7 +1811,7 @@ int ScummEngine::init(GameDetector &detector) {
} else {
_system->initSize(_screenWidth, _screenHeight, (detector._force1xOverlay ? 1 : 2));
}
- initCommonGFX(detector);
+ initCommonGFX(detector, (_features & GF_DEFAULT_TO_1X_SCALER) != 0);
_system->endGFXTransaction();
// On some systems it's not safe to run CD audio games from the CD.