This commit is contained in:
Jaex 2018-08-23 13:25:02 +03:00
parent dcbe2ab4fe
commit 93e077a691

View file

@ -1232,7 +1232,7 @@ private static void BoxBlurVertical(UnsafeBitmap unsafeBitmap, int range, Rectan
int right = rect.Right;
int bottom = rect.Bottom;
int halfRange = range / 2;
ColorBgra[] newColors = new ColorBgra[unsafeBitmap.Width];
ColorBgra[] newColors = new ColorBgra[unsafeBitmap.Height];
for (int x = left; x < right; x++)
{