diff options
author | Max Horn | 2004-10-09 00:06:36 +0000 |
---|---|---|
committer | Max Horn | 2004-10-09 00:06:36 +0000 |
commit | b3c72a792bf2625f58c68822a1ca87a299318c87 (patch) | |
tree | 64d742b8a1a53d40995819ffe6877e526e804756 /scumm/base-costume.h | |
parent | ca41dba220eceb2f2cca43126ee91ef9c86bae95 (diff) | |
download | scummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.tar.gz scummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.tar.bz2 scummvm-rg350-b3c72a792bf2625f58c68822a1ca87a299318c87.zip |
Fix for bug #1042802 (DIG: Graphics glitch when scrolling) -- the fix is to properly distinguish pitch and width of the target surface
svn-id: r15480
Diffstat (limited to 'scumm/base-costume.h')
-rw-r--r-- | scumm/base-costume.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/scumm/base-costume.h b/scumm/base-costume.h index c32dab3c3f..1ad9f3f5c8 100644 --- a/scumm/base-costume.h +++ b/scumm/base-costume.h @@ -71,8 +71,7 @@ protected: ScummEngine *_vm; // Destination - byte *_outptr; - int _outwidth, _outheight; + Graphics::Surface _out; int32 _numStrips; // Source pointer @@ -119,14 +118,6 @@ public: _width = _height = 0; _skipLimb = 0; _transparency = 0; - - _clipOverride.right = 0; - _clipOverride.left = 0; - _clipOverride.top = 0; - _clipOverride.bottom = 0; - - _outptr = 0; - _outwidth = _outheight = 0; } virtual void setPalette(byte *palette) = 0; |