sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_4BPP_GetPixel(SourceSurf, sx, sy);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
DestBits = (PULONG)((ULONG_PTR)DestBits + 2);
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_8BPP_GetPixel(SourceSurf, sx, sy);
-
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
DestBits = (PULONG)((ULONG_PTR)DestBits + 2);
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_24BPP_GetPixel(SourceSurf, sx, sy);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
DestBits = (PULONG)((ULONG_PTR)DestBits + 2);
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_32BPP_GetPixel(SourceSurf, sx, sy);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
DestBits = (PULONG)((ULONG_PTR)DestBits + 2);
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
{
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_4BPP_GetPixel(SourceSurf, sx, sy);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
{
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_8BPP_GetPixel(SourceSurf, sx, sy);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
}
{
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_16BPP_GetPixel(SourceSurf, sx, sy);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
}
{
sx = ((DesX * SrcSizeX) / DesSizeX) + SourceRect->left;
color = DIB_24BPP_GetPixel(SourceSurf, sx, sy);
- *DestBits = XLATEOBJ_iXlate(ColorTranslation, color);
+ color = XLATEOBJ_iXlate(ColorTranslation, color);
+ *DestBits = color;
}
DestBits = (PULONG)((ULONG_PTR)DestBits + DifflDelta);
}