diff options
| author | Max Horn | 2004-03-13 15:45:39 +0000 |
|---|---|---|
| committer | Max Horn | 2004-03-13 15:45:39 +0000 |
| commit | 7db5cc0a9c3172628f40c3734788bfe9f1a3896b (patch) | |
| tree | 1443fcee44e9676b231c91079aa1dc231a0714ab /common | |
| parent | 3cf400ebddf25b020d9532353b29c79becc2914c (diff) | |
| download | scummvm-rg350-7db5cc0a9c3172628f40c3734788bfe9f1a3896b.tar.gz scummvm-rg350-7db5cc0a9c3172628f40c3734788bfe9f1a3896b.tar.bz2 scummvm-rg350-7db5cc0a9c3172628f40c3734788bfe9f1a3896b.zip | |
While moving things down by one line 'looks better' (IMO), it also means that the last line is blitted outside the screen -> bad. So for now I'll undo my changes to the 2xSai filter family
svn-id: r13257
Diffstat (limited to 'common')
| -rw-r--r-- | common/scaler/2xsai.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/common/scaler/2xsai.cpp b/common/scaler/2xsai.cpp index cf7e3457e6..779f3b1710 100644 --- a/common/scaler/2xsai.cpp +++ b/common/scaler/2xsai.cpp @@ -52,8 +52,6 @@ void Super2xSaITemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uin uint16 *dP; const uint32 nextlineSrc = srcPitch >> 1; - dstPtr += dstPitch; - while (height--) { bP = (const uint16 *)srcPtr; dP = (uint16 *)dstPtr; @@ -163,8 +161,6 @@ void SuperEagleTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uin uint16 *dP; const uint32 nextlineSrc = srcPitch >> 1; - dstPtr += dstPitch; - while (height--) { bP = (const uint16 *)srcPtr; dP = (uint16 *)dstPtr; @@ -276,8 +272,6 @@ void _2xSaITemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 uint16 *dP; const uint32 nextlineSrc = srcPitch >> 1; - dstPtr += dstPitch; - while (height--) { bP = (const uint16 *)srcPtr; dP = (uint16 *)dstPtr; |
