[Scummvm-cvs-logs] CVS: scummvm/common scaler.cpp,1.68,1.69
Eugene Sandulenko
sev at users.sourceforge.net
Sat May 14 16:29:06 CEST 2005
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4183/common
Modified Files:
scaler.cpp
Log Message:
Improvements to --disable-* stuff. Now less ugly #ifdefs with #includes.
Index: scaler.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- scaler.cpp 14 May 2005 22:56:37 -0000 1.68
+++ scaler.cpp 14 May 2005 23:28:20 -0000 1.69
@@ -103,10 +103,8 @@
InitLUT(BitFormat);
}
-#ifdef DISABLE_HQ_SCALERS
-void InitLUT(uint32 BitFormat) {}
-#else
void InitLUT(uint32 BitFormat) {
+#ifndef DISABLE_HQ_SCALERS
int r, g, b;
int Y, u, v;
int gInc, gShift;
@@ -133,8 +131,8 @@
}
}
}
-}
#endif
+}
/**
* Trivial 'scaler' - in fact it doesn't do any scaling but just copies the
More information about the Scummvm-git-logs
mailing list