diff options
author | Filippos Karapetis | 2008-12-12 14:23:02 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-12 14:23:02 +0000 |
commit | cfa939d1510d0630a81cec41fc94a61b9908693e (patch) | |
tree | 6ecc219bb5c951820f78d6724a52749b7c23571a /engines/saga/puzzle.cpp | |
parent | 2efe7bede0d5c659abd8e48b5de011d8c5266fc8 (diff) | |
download | scummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.tar.gz scummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.tar.bz2 scummvm-rg350-cfa939d1510d0630a81cec41fc94a61b9908693e.zip |
- Stop passing the scene clip rectangle around for no reason
- More changes for dirty rectangle handling
- Stop adding dirty rectangles that cover the whole screen for no reason
- Dirty rectangle handling is still very buggy, so it's still disabled
svn-id: r35314
Diffstat (limited to 'engines/saga/puzzle.cpp')
-rw-r--r-- | engines/saga/puzzle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/saga/puzzle.cpp b/engines/saga/puzzle.cpp index ccc395f322..b149112128 100644 --- a/engines/saga/puzzle.cpp +++ b/engines/saga/puzzle.cpp @@ -195,7 +195,7 @@ void Puzzle::showPieces(void) { int num = _piecePriority[j]; if (_puzzlePiece != num) { - _vm->_sprite->draw(_vm->getDisplayClip(), *spriteList, num, Point(_pieceInfo[num].curX, _pieceInfo[num].curY), 256); + _vm->_sprite->draw(*spriteList, num, Point(_pieceInfo[num].curX, _pieceInfo[num].curY), 256); } } } @@ -206,7 +206,7 @@ void Puzzle::drawCurrentPiece() { SpriteList *spriteList; _vm->_actor->getSpriteParams(puzzle, frameNumber, spriteList); - _vm->_sprite->draw(_vm->_scene->getSceneClip(), *spriteList, _puzzlePiece, + _vm->_sprite->draw(*spriteList, _puzzlePiece, Point(_pieceInfo[_puzzlePiece].curX, _pieceInfo[_puzzlePiece].curY), 256); } |