[Scummvm-cvs-logs] SF.net SVN: scummvm:[47076] scummvm/trunk/engines/sci/graphics/gui.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Jan 6 14:11:40 CET 2010
Revision: 47076
http://scummvm.svn.sourceforge.net/scummvm/?rev=47076&view=rev
Author: thebluegr
Date: 2010-01-06 13:11:10 +0000 (Wed, 06 Jan 2010)
Log Message:
-----------
SCI2+ games no longer use priority bands (fixes memory leaks in true hires games, too)
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/gui.cpp
Modified: scummvm/trunk/engines/sci/graphics/gui.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/gui.cpp 2010-01-06 13:05:14 UTC (rev 47075)
+++ scummvm/trunk/engines/sci/graphics/gui.cpp 2010-01-06 13:11:10 UTC (rev 47076)
@@ -80,7 +80,10 @@
_gfx->init(_text);
_windowMgr->init(_s->_gameId);
- initPriorityBands();
+ // Init priority bands for SCI0-SCI11. SCI2+ games don't
+ // use priority bands anymore
+ if (getSciVersion() <= SCI_VERSION_1_1)
+ initPriorityBands();
}
void SciGui::initPriorityBands() {
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