diff options
Diffstat (limited to 'engines/sword2')
-rw-r--r-- | engines/sword2/screen.cpp | 2 | ||||
-rw-r--r-- | engines/sword2/sword2.cpp | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/engines/sword2/screen.cpp b/engines/sword2/screen.cpp index d793e46192..d656674a98 100644 --- a/engines/sword2/screen.cpp +++ b/engines/sword2/screen.cpp @@ -52,8 +52,6 @@ Screen::Screen(Sword2Engine *vm, int16 width, int16 height) { _dirtyGrid = _buffer = NULL; - _vm->_system->initSize(width, height); - _screenWide = width; _screenDeep = height; diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index 7602368cac..39c04da592 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -371,10 +371,8 @@ Common::Error Sword2Engine::init() { _resman = NULL; _memory = NULL; - _system->beginGFXTransaction(); - initCommonGFX(true); - _screen = new Screen(this, 640, 480); - _system->endGFXTransaction(); + initGraphics(640, 480, true); + _screen = new Screen(this, 640, 480); // Create the debugger as early as possible (but not before the // screen object!) so that errors can be displayed in it. In |