diff options
author | Johannes Schickel | 2008-11-14 22:08:10 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-11-14 22:08:10 +0000 |
commit | 5a0556f09ca89886fda55d333745a672ea14e022 (patch) | |
tree | 698d0162a6737c298f8c6d313209e18a056f7684 /engines/m4/m4.cpp | |
parent | bb87d39424c9dee6fbfddf8b806a5675bcf39494 (diff) | |
download | scummvm-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/m4/m4.cpp')
-rw-r--r-- | engines/m4/m4.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp index 45185b3b86..6cc81bf274 100644 --- a/engines/m4/m4.cpp +++ b/engines/m4/m4.cpp @@ -143,13 +143,10 @@ M4Engine::~M4Engine() { Common::Error M4Engine::init() { // Initialize backend - _system->beginGFXTransaction(); - initCommonGFX(isM4()); if (isM4()) - _system->initSize(640, 480); + initGraphics(640, 480, true); else - _system->initSize(320, 200); - _system->endGFXTransaction(); + initGraphics(320, 200, false); _screen = new M4Surface(true); // Special form for creating screen reference |