Skip to content

Commit 2913201

Browse files
committed
Reduce incorrect blank maargin on cropped blur
1 parent 3180ec4 commit 2913201

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ImageSharp/Processing/Processors/Convolution/BokehBlurProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void Invoke(int y)
136136

137137
// The target buffer is zeroed initially and then it accumulates the results
138138
// of each partial convolution, so we don't have to clear it here as well
139-
ref Vector4 targetBase = ref this.targetValues.GetElementUnsafe(0, y);
139+
ref Vector4 targetBase = ref this.targetValues.GetElementUnsafe(boundsX, y);
140140
ref Complex64 kernelBase = ref this.kernel[0];
141141

142142
for (int kY = 0; kY < kernelSize; kY++)

0 commit comments

Comments
 (0)