diff options
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/isomap.cpp | 4 | ||||
-rw-r--r-- | engines/saga/isomap.h | 2 | ||||
-rw-r--r-- | engines/saga/scene.cpp | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/isomap.cpp b/engines/saga/isomap.cpp index 1df3c2aa26..6a4b5110dd 100644 --- a/engines/saga/isomap.cpp +++ b/engines/saga/isomap.cpp @@ -376,9 +376,9 @@ int16 IsoMap::findMulti(int16 tileIndex, int16 absU, int16 absV, int16 absH) { return 1; } -void IsoMap::draw(Surface *ds) { +void IsoMap::draw() { _tileClip = _vm->_scene->getSceneClip(); - ds->drawRect(_tileClip, 0); + _vm->_gfx->getBackBuffer()->drawRect(_tileClip, 0); drawTiles(NULL); } diff --git a/engines/saga/isomap.h b/engines/saga/isomap.h index fd84ce1518..f2e4e00495 100644 --- a/engines/saga/isomap.h +++ b/engines/saga/isomap.h @@ -162,7 +162,7 @@ public: void loadMetaTiles(const byte * resourcePointer, size_t resourceLength); void loadMulti(const byte * resourcePointer, size_t resourceLength); void freeMem(); - void draw(Surface *ds); + void draw(); void drawSprite(SpriteList &spriteList, int spriteNumber, const Location &location, const Point &screenPosition, int scale); void adjustScroll(bool jump); void tileCoordsToScreenPoint(const Location &location, Point &position) { diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp index dafacc5588..de7ad727de 100644 --- a/engines/saga/scene.cpp +++ b/engines/saga/scene.cpp @@ -1146,7 +1146,7 @@ void Scene::processSceneResources() { void Scene::draw() { if (_sceneDescription.flags & kSceneFlagISO) { _vm->_isoMap->adjustScroll(false); - _vm->_isoMap->draw(_vm->_gfx->getBackBuffer()); + _vm->_isoMap->draw(); } else { Rect rect; _vm->_render->getBackGroundSurface()->getRect(rect); |