aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDavid Turner2011-08-21 23:43:14 +0000
committerWillem Jan Palenstijn2011-11-20 22:43:11 +0100
commit9b487e917d729a59d68b99db609206e8e20eaaca (patch)
tree95767b593020e53aff6869f25356c7053a6a72da /engines
parent86e6ec89efe2a13c6502e215c496535a7f40e678 (diff)
downloadscummvm-rg350-9b487e917d729a59d68b99db609206e8e20eaaca.tar.gz
scummvm-rg350-9b487e917d729a59d68b99db609206e8e20eaaca.tar.bz2
scummvm-rg350-9b487e917d729a59d68b99db609206e8e20eaaca.zip
TOLTECS: Switch to initGraphics() call, rather than separate calls.
Diffstat (limited to 'engines')
-rw-r--r--engines/toltecs/toltecs.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/toltecs/toltecs.cpp b/engines/toltecs/toltecs.cpp
index 180da78692..42a1b20b33 100644
--- a/engines/toltecs/toltecs.cpp
+++ b/engines/toltecs/toltecs.cpp
@@ -84,11 +84,7 @@ void ToltecsEngine::syncSoundSettings() {
}
Common::Error ToltecsEngine::run() {
- // Initialize backend
- _system->beginGFXTransaction();
- initCommonGFX(true);
- _system->initSize(640, 400);
- _system->endGFXTransaction();
+ initGraphics(640, 400, true);
_isSaveAllowed = true;