From b3c72a792bf2625f58c68822a1ca87a299318c87 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 9 Oct 2004 00:06:36 +0000 Subject: 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 --- scumm/base-costume.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'scumm/base-costume.h') 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; -- cgit v1.2.3