aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}