Browse Source

Update GlowProcessor{TPixel}.cs

af/octree-no-pixelmap
James Jackson-South 6 years ago
parent
commit
f8a04d9d9a
  1. 3
      src/ImageSharp/Processing/Processors/Overlays/GlowProcessor{TPixel}.cs

3
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<float> memory)
{
Span<float> amountsSpan = memory.Span;
Span<TPixel> 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);
}
}

Loading…
Cancel
Save