More Area planning.
This commit is contained in:
parent
43da1118be
commit
21d3bf944b
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue