From f8a04d9d9af529d04755e16d182fa928c0a684d3 Mon Sep 17 00:00:00 2001 From: James Jackson-South Date: Fri, 7 Feb 2020 21:33:32 +1100 Subject: [PATCH] Update GlowProcessor{TPixel}.cs --- .../Processing/Processors/Overlays/GlowProcessor{TPixel}.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ImageSharp/Processing/Processors/Overlays/GlowProcessor{TPixel}.cs b/src/ImageSharp/Processing/Processors/Overlays/GlowProcessor{TPixel}.cs index ce677c5150..65a87fbf01 100644 --- a/src/ImageSharp/Processing/Processors/Overlays/GlowProcessor{TPixel}.cs +++ b/src/ImageSharp/Processing/Processors/Overlays/GlowProcessor{TPixel}.cs @@ -97,6 +97,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Overlays public void Invoke(in RowInterval rows, Memory memory) { Span amountsSpan = memory.Span; + Span colorSpan = this.colors.GetSpan(); for (int y = rows.Min; y < rows.Max; y++) { @@ -112,7 +113,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Overlays this.configuration, destination, destination, - this.colors.GetSpan(), + colorSpan, amountsSpan); } }