aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction
diff options
context:
space:
mode:
authorNicola Mettifogo2007-08-12 13:06:42 +0000
committerNicola Mettifogo2007-08-12 13:06:42 +0000
commit9125ccb3eb31259e48a6b905829dba133188efa6 (patch)
tree5fd6db483ade668bfb2dfb24ee0650e2831159da /engines/parallaction
parentefaca7c6578d0ba0869e124262f7a21a09ba9558 (diff)
downloadscummvm-rg350-9125ccb3eb31259e48a6b905829dba133188efa6.tar.gz
scummvm-rg350-9125ccb3eb31259e48a6b905829dba133188efa6.tar.bz2
scummvm-rg350-9125ccb3eb31259e48a6b905829dba133188efa6.zip
Oops. Buffers are now initialized properly.
svn-id: r28559
Diffstat (limited to 'engines/parallaction')
-rw-r--r--engines/parallaction/graphics.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/graphics.cpp b/engines/parallaction/graphics.cpp
index 614a748ab0..c142779167 100644
--- a/engines/parallaction/graphics.cpp
+++ b/engines/parallaction/graphics.cpp
@@ -751,6 +751,9 @@ Gfx::Gfx(Parallaction* vm) :
_buffers[kBit2] = 0;
_depthMask = 0;
+ _buffers[kBitFront] = 0;
+ _buffers[kBitBack] = 0;
+
initBuffers(_vm->_screenWidth, _vm->_screenHeight);
setPalette(_palette);