More Area planning.

This commit is contained in:
Pietro Gagliardi 2014-03-14 09:09:42 -04:00
parent 43da1118be
commit 21d3bf944b
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ Upon further review, there really doesn't seem to be any way around it: we have
status := GdipCreateBitmapFromScan0( status := GdipCreateBitmapFromScan0(
i.Rect.Dx(), i.Rect.Dx(),
i.Rect.Dy(), i.Rect.Dy(),
0, // no stride anymore i.Rect.Dy() * 4, // got rid of extra stride
PixelFormat32bppARGB, PixelFormat32bppARGB,
&realbits[0], &realbits[0],
&bitmap) &bitmap)