aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorMax Horn2009-01-18 20:42:33 +0000
committerMax Horn2009-01-18 20:42:33 +0000
commit6b3d5db09f96dd449e4934fa57073a0fed8e86de (patch)
treee8f876a3d93969782c5ebaa0126d7c11cbc21055 /engines/saga
parent487f4eafb0185de478221a3291df7a5912a4f6c7 (diff)
downloadscummvm-rg350-6b3d5db09f96dd449e4934fa57073a0fed8e86de.tar.gz
scummvm-rg350-6b3d5db09f96dd449e4934fa57073a0fed8e86de.tar.bz2
scummvm-rg350-6b3d5db09f96dd449e4934fa57073a0fed8e86de.zip
Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for now
svn-id: r35915
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/saga.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/saga/saga.cpp b/engines/saga/saga.cpp
index 263119645b..2195a50998 100644
--- a/engines/saga/saga.cpp
+++ b/engines/saga/saga.cpp
@@ -265,12 +265,19 @@ Common::Error SagaEngine::init() {
syncSoundSettings();
+
+#if 0
+ // FIXME: Disabled this code for now. We want to get rid of OSystem::kFeatureAutoComputeDirtyRects
+ // and this is the last place to make use of it. We need to find out whether doing
+ // so causes any regressions. If it does, we can reenable it, if not, we can remove
+ // this code in 0.13.0.
+
// FIXME: This is the ugly way of reducing redraw overhead. It works
// well for 320x200 but it's unclear how well it will work for
// 640x480.
-
if (getGameId() == GID_ITE)
_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true);
+#endif
return Common::kNoError;
}