StartScan is always in BOTTOM_UP sense for GetDIBits

svn path=/trunk/; revision=19269
This commit is contained in:
Gé van Geldorp 2005-11-16 16:12:59 +00:00
parent e35611c03d
commit 70c005e0ae

View file

@ -498,7 +498,8 @@ NtGdiGetDIBits(HDC hDC,
DestPaletteType, SourcePaletteType, hDestPalette, hSourcePalette);
SourcePoint.x = 0;
SourcePoint.y = StartScan;
SourcePoint.y = BitmapObj->SurfObj.sizlBitmap.cy -
(StartScan + ScanLines);
/* Determine destination rectangle */
DestRect.top = 0;