diff options
Diffstat (limited to 'engines/gob/init_v2.cpp')
-rw-r--r-- | engines/gob/init_v2.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/gob/init_v2.cpp b/engines/gob/init_v2.cpp index f89d5a8cfb..78be68d48c 100644 --- a/engines/gob/init_v2.cpp +++ b/engines/gob/init_v2.cpp @@ -44,8 +44,7 @@ void Init_v2::initVideo() { _vm->validateVideoMode(_vm->_global->_videoMode); _vm->_draw->_frontSurface = _vm->_global->_primarySurfDesc; - _vm->_video->initSurfDesc(_vm->_global->_videoMode, - _vm->_video->_surfWidth, _vm->_video->_surfHeight, PRIMARY_SURFACE); + _vm->_video->initSurfDesc(_vm->_video->_surfWidth, _vm->_video->_surfHeight, PRIMARY_SURFACE); _vm->_global->_mousePresent = 1; @@ -65,9 +64,7 @@ void Init_v2::initVideo() { _vm->_global->_pPaletteDesc->unused1 = _vm->_global->_unusedPalette1; _vm->_global->_pPaletteDesc->unused2 = _vm->_global->_unusedPalette2; - if (_vm->_global->_videoMode != 0) - _vm->_video->initSurfDesc(_vm->_global->_videoMode, _vm->_video->_surfWidth, - _vm->_video->_surfHeight, PRIMARY_SURFACE); + _vm->_video->initSurfDesc(_vm->_video->_surfWidth, _vm->_video->_surfHeight, PRIMARY_SURFACE); } } // End of namespace Gob |