diff options
Diffstat (limited to 'engines/gob/inter_v5.cpp')
-rw-r--r-- | engines/gob/inter_v5.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/inter_v5.cpp b/engines/gob/inter_v5.cpp index 4106aef612..a684a94a7d 100644 --- a/engines/gob/inter_v5.cpp +++ b/engines/gob/inter_v5.cpp @@ -194,8 +194,8 @@ void Inter_v5::o5_initScreen() { _vm->_util->setScrollOffset(); if (offY > 0) { - _vm->_draw->_spritesArray[24] = SurfacePtr(new Surface(_vm->_width, offY, 1)); - _vm->_draw->_spritesArray[25] = SurfacePtr(new Surface(_vm->_width, offY, 1)); + _vm->_draw->_spritesArray[24] = SurfacePtr(new Surface(_vm->_width, offY, _vm->getPixelFormat().bytesPerPixel)); + _vm->_draw->_spritesArray[25] = SurfacePtr(new Surface(_vm->_width, offY, _vm->getPixelFormat().bytesPerPixel)); _vm->_video->_splitSurf = _vm->_draw->_spritesArray[25]; } } |