[Scummvm-cvs-logs] CVS: scummvm/common/scaler 2xsai.cpp,1.6,1.7
Max Horn
fingolfin at users.sourceforge.net
Sat Mar 13 07:55:01 CET 2004
Update of /cvsroot/scummvm/scummvm/common/scaler
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8049/common/scaler
Modified Files:
2xsai.cpp
Log Message:
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
Index: 2xsai.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler/2xsai.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- 2xsai.cpp 27 Feb 2004 19:36:52 -0000 1.6
+++ 2xsai.cpp 13 Mar 2004 15:45:39 -0000 1.7
@@ -52,8 +52,6 @@
uint16 *dP;
const uint32 nextlineSrc = srcPitch >> 1;
- dstPtr += dstPitch;
-
while (height--) {
bP = (const uint16 *)srcPtr;
dP = (uint16 *)dstPtr;
@@ -163,8 +161,6 @@
uint16 *dP;
const uint32 nextlineSrc = srcPitch >> 1;
- dstPtr += dstPitch;
-
while (height--) {
bP = (const uint16 *)srcPtr;
dP = (uint16 *)dstPtr;
@@ -276,8 +272,6 @@
uint16 *dP;
const uint32 nextlineSrc = srcPitch >> 1;
- dstPtr += dstPitch;
-
while (height--) {
bP = (const uint16 *)srcPtr;
dP = (uint16 *)dstPtr;
More information about the Scummvm-git-logs
mailing list