aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/draw.cpp')
-rw-r--r--engines/gob/draw.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp
index d9cd3fd83b..1f73e76497 100644
--- a/engines/gob/draw.cpp
+++ b/engines/gob/draw.cpp
@@ -327,8 +327,7 @@ void Draw::dirtiedRect(SurfacePtr surface,
void Draw::initSpriteSurf(int16 index, int16 width, int16 height,
int16 flags) {
- _spritesArray[index] =
- _vm->_video->initSurfDesc(_vm->_global->_videoMode, width, height, flags);
+ _spritesArray[index] = _vm->_video->initSurfDesc(width, height, flags);
_spritesArray[index]->clear();
}