Skip to content

Commit

Permalink
[PixImageMipMap] Make default interpolation linear
Browse files Browse the repository at this point in the history
  • Loading branch information
hyazinthh committed Jul 24, 2024
1 parent b89f5ee commit 707e32b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public static PixImageMipMap Load(Stream stream, IPixLoader loader = null)
/// <param name="interpolation">The used interpolation method.</param>
/// <param name="powerOfTwo">If true, the base image is resized to have power-of-two dimensions.</param>
/// <returns></returns>
public static PixImageMipMap Create(PixImage image, ImageInterpolation interpolation = ImageInterpolation.Cubic, int maxCount = 0, bool powerOfTwo = false)
public static PixImageMipMap Create(PixImage image, ImageInterpolation interpolation = ImageInterpolation.Linear, int maxCount = 0, bool powerOfTwo = false)
{
var baseSize = image.Size;
var baseImage = image;
Expand Down

0 comments on commit 707e32b

Please sign in to comment.