[PATCH 5/8] gdi32: Reset the image size when cropping the source bitmap.
Huw Davies
huw at codeweavers.com
Mon Feb 13 08:08:02 CST 2017
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/gdi32/dib.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/gdi32/dib.c b/dlls/gdi32/dib.c
index ef63f40..a85bf6f 100644
--- a/dlls/gdi32/dib.c
+++ b/dlls/gdi32/dib.c
@@ -831,6 +831,7 @@ INT nulldrv_SetDIBitsToDevice( PHYSDEV dev, INT x_dst, INT y_dst, DWORD cx, DWOR
else if (src.y >= lines) return lines;
}
src_info->bmiHeader.biHeight = top_down ? -lines : lines;
+ src_info->bmiHeader.biSizeImage = get_dib_image_size( src_info );
}
src.visrect.left = src.x;
--
2.10.2
More information about the wine-patches
mailing list