Browse Source

ImageSharp-762_Aot-compiling: clean up AotGetPalette method

pull/767/head
Dan Manning 7 years ago
parent
commit
74e3a3505c
  1. 2
      src/ImageSharp/Processing/Processors/Quantization/OctreeFrameQuantizer{TPixel}.cs

2
src/ImageSharp/Processing/Processors/Quantization/OctreeFrameQuantizer{TPixel}.cs

@ -136,7 +136,7 @@ namespace SixLabors.ImageSharp.Processing.Processors.Quantization
}
}
internal TPixel[] AotGetPalette() => this.octree.Palletize(this.colors);
internal TPixel[] AotGetPalette() => this.GetPalette();
/// <inheritdoc/>
protected override TPixel[] GetPalette() => this.octree.Palletize(this.colors);

Loading…
Cancel
Save