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/parallaction | |
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/parallaction')
-rw-r--r-- | engines/parallaction/graphics.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp index 9f1bd559b3..7de5e882cb 100644 --- a/engines/parallaction/graphics.cpp +++ b/engines/parallaction/graphics.cpp @@ -749,10 +749,7 @@ void Gfx::grabBackground(const Common::Rect& r, Graphics::Surface &dst) { Gfx::Gfx(Parallaction* vm) : _vm(vm), _disk(vm->_disk) { - _vm->_system->beginGFXTransaction(); - _vm->_system->initSize(_vm->_screenWidth, _vm->_screenHeight); - initCommonGFX(_vm->getGameType() == GType_BRA); - _vm->_system->endGFXTransaction(); + initGraphics(_vm->_screenWidth, _vm->_screenHeight, _vm->getGameType() == GType_BRA); setPalette(_palette); |