From 70c005e0ae7e4e0314a491f31ccfbc3aa411b155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Wed, 16 Nov 2005 16:12:59 +0000 Subject: [PATCH] StartScan is always in BOTTOM_UP sense for GetDIBits svn path=/trunk/; revision=19269 --- reactos/subsys/win32k/objects/dib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/subsys/win32k/objects/dib.c b/reactos/subsys/win32k/objects/dib.c index b5ff7d3f416..0be58248360 100644 --- a/reactos/subsys/win32k/objects/dib.c +++ b/reactos/subsys/win32k/objects/dib.c @@ -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;