From 21d3bf944b1efe19c969b764804a86baf1c913e8 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 14 Mar 2014 09:09:42 -0400 Subject: [PATCH] More Area planning. --- areaplan.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/areaplan.md b/areaplan.md index 8c25ef6..1247613 100644 --- a/areaplan.md +++ b/areaplan.md @@ -142,7 +142,7 @@ Upon further review, there really doesn't seem to be any way around it: we have status := GdipCreateBitmapFromScan0( i.Rect.Dx(), i.Rect.Dy(), - 0, // no stride anymore + i.Rect.Dy() * 4, // got rid of extra stride PixelFormat32bppARGB, &realbits[0], &bitmap)