mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-31 22:53:54 +00:00
Turned on the automatic computation of dirty rects for ITE. It should make
it less of a CPU hog for 0.8.0, but I hope we'll be able to fix it properly for later versions. svn-id: r19083
This commit is contained in:
parent
dcb2372e23
commit
80fd4fe088
@ -269,6 +269,13 @@ int SagaEngine::init(GameDetector &detector) {
|
||||
|
||||
_gfx->initPalette();
|
||||
|
||||
// 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 (getGameType() == GType_ITE)
|
||||
_system->setFeatureState(OSystem::kFeatureAutoComputeDirtyRects, true);
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user