another DIB_32BPP_StretchBlt fix (patch by GreatLord)
Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c
_____
Modified: trunk/reactos/subsys/win32k/dib/dib32bpp.c
--- trunk/reactos/subsys/win32k/dib/dib32bpp.c 2006-01-10 20:45:27 UTC
(rev 20766)
+++ trunk/reactos/subsys/win32k/dib/dib32bpp.c 2006-01-10 20:50:21 UTC
(rev 20767)
@@ -632,7 +632,7 @@
for (DesX=0; DesX<DesSizeX; DesX++, DestBits++)
{
sx = ((DesX * SrcSizeX) / DesSizeX) +
SourceRect->left;
- color = DIB_32BPP_GetPixel(SourceSurf, sx, sy);
+ color = DIB_8BPP_GetPixel(SourceSurf, sx, sy);
*DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
Show replies by date