aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorJohannes Schickel2008-11-14 22:08:10 +0000
committerJohannes Schickel2008-11-14 22:08:10 +0000
commit5a0556f09ca89886fda55d333745a672ea14e022 (patch)
tree698d0162a6737c298f8c6d313209e18a056f7684 /engines/agos
parentbb87d39424c9dee6fbfddf8b806a5675bcf39494 (diff)
downloadscummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.tar.gz
scummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.tar.bz2
scummvm-rg350-5a0556f09ca89886fda55d333745a672ea14e022.zip
Committed my patch #2123680 "SDL: Backend transaction / rollback support".
svn-id: r35062
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/agos.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/agos/agos.cpp b/engines/agos/agos.cpp
index e7669941b3..b3690b3d59 100644
--- a/engines/agos/agos.cpp
+++ b/engines/agos/agos.cpp
@@ -540,10 +540,7 @@ Common::Error AGOSEngine::init() {
_screenHeight = 200;
}
- _system->beginGFXTransaction();
- initCommonGFX(getGameType() == GType_FF || getGameType() == GType_PP);
- _system->initSize(_screenWidth, _screenHeight);
- _system->endGFXTransaction();
+ initGraphics(_screenWidth, _screenHeight, getGameType() == GType_FF || getGameType() == GType_PP);
// Setup mixer
_mixer->setVolumeForSoundType(Audio::Mixer::kSFXSoundType, ConfMan.getInt("sfx_volume"));