diff options
-rw-r--r-- | engines/director/frame.cpp | 3 | ||||
-rw-r--r-- | engines/director/score.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index a68fca4482..14951cf1a6 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -419,7 +419,8 @@ void Frame::prepareFrame(Score *score) { playSoundChannel(); } - score->_backSurface->copyFrom(*score->_surface); + if (_vm->getCurrentScore()->haveZoomBox()) + score->_backSurface->copyFrom(*score->_surface); g_system->copyRectToScreen(score->_surface->getPixels(), score->_surface->pitch, 0, 0, score->_surface->getBounds().width(), score->_surface->getBounds().height()); } diff --git a/engines/director/score.h b/engines/director/score.h index 388c14e73b..bc7a41a733 100644 --- a/engines/director/score.h +++ b/engines/director/score.h @@ -105,6 +105,7 @@ public: void addZoomBox(ZoomBox *box); void renderZoomBox(bool redraw = false); + bool haveZoomBox() { return !_zoomBoxes.empty(); } private: void update(); |