reactos/subsys/win32k/dib
diff -u -r1.16 -r1.17
--- dib32bpp.c 1 Apr 2004 19:31:05 -0000 1.16
+++ dib32bpp.c 4 Apr 2004 16:40:05 -0000 1.17
@@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-/* $Id: dib32bpp.c,v 1.16 2004/04/01 19:31:05 gvg Exp $ */
+/* $Id: dib32bpp.c,v 1.17 2004/04/04 16:40:05 gvg Exp $ */
#undef WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <stdlib.h>
@@ -391,7 +391,7 @@
int TgtWidth, int TgtHeight, int srcPitch, int dstPitch)
{
int NumPixels = TgtHeight;
- int IntPart = ((SrcHeight / TgtHeight) * srcPitch) >> 1; //(SrcHeight / TgtHeight) * SrcWidth;
+ int IntPart = ((SrcHeight / TgtHeight) * srcPitch) / 4; //(SrcHeight / TgtHeight) * SrcWidth;
int FractPart = SrcHeight % TgtHeight;
int Mid = TgtHeight >> 1;
int E = 0;