StartScan is always in BOTTOM_UP sense for GetDIBits
Modified: trunk/reactos/subsys/win32k/objects/dib.c
--- trunk/reactos/subsys/win32k/objects/dib.c 2005-11-16 16:10:57 UTC (rev 19268) +++ trunk/reactos/subsys/win32k/objects/dib.c 2005-11-16 16:12:59 UTC (rev 19269) @@ -498,7 +498,8 @@
DestPaletteType, SourcePaletteType, hDestPalette, hSourcePalette); SourcePoint.x = 0;
- SourcePoint.y = StartScan;
+ SourcePoint.y = BitmapObj->SurfObj.sizlBitmap.cy -
+ (StartScan + ScanLines);
/* Determine destination rectangle */ DestRect.top = 0;