aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/saga/render.cpp')
-rw-r--r--engines/saga/render.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp
index 3bee811eab..57cb1ca325 100644
--- a/engines/saga/render.cpp
+++ b/engines/saga/render.cpp
@@ -82,7 +82,10 @@ void Render::drawScene() {
int curMode = _vm->_interface->getMode();
assert(_initialized);
- // TODO: Remove this
+ // TODO: Remove this to use dirty rectangles
+ // 2 known glitches exist:
+ // - When a placard is up, the text is not shown correctly
+ // - Sprite::drawClip() can draw sprites incorrectly in isometric scenes in ITE
_fullRefresh = true;
#ifdef SAGA_DEBUG
@@ -221,7 +224,8 @@ void Render::addDirtyRect(Common::Rect rect) {
break; // we need to break now, as the list is changed
}
}
- _dirtyRects.push_back(rectClipped);
+ if (_vm->_interface->getFadeMode() != kFadeOut)
+ _dirtyRects.push_back(rectClipped);
}
}