[Scummvm-cvs-logs] SF.net SVN: scummvm:[35915] scummvm/trunk/engines/saga/saga.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Jan 18 21:42:33 CET 2009
Revision: 35915
http://scummvm.svn.sourceforge.net/scummvm/?rev=35915&view=rev
Author: fingolfin
Date: 2009-01-18 20:42:33 +0000 (Sun, 18 Jan 2009)
Log Message:
-----------
Disabled use of OSystem::kFeatureAutoComputeDirtyRects in SAGA for now
Modified Paths:
--------------
scummvm/trunk/engines/saga/saga.cpp
Modified: scummvm/trunk/engines/saga/saga.cpp
===================================================================
--- scummvm/trunk/engines/saga/saga.cpp 2009-01-18 20:05:24 UTC (rev 35914)
+++ scummvm/trunk/engines/saga/saga.cpp 2009-01-18 20:42:33 UTC (rev 35915)
@@ -265,12 +265,19 @@
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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list