From aba77ed2b434e5aa953b553fc71f70cea34de290 Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Fri, 27 Dec 2024 22:06:33 +1100 Subject: [PATCH] Update StarImageProcessing.cpp [skip ci] --- source/core/StarImageProcessing.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp index 938bbe9..9f64124 100644 --- a/source/core/StarImageProcessing.cpp +++ b/source/core/StarImageProcessing.cpp @@ -625,11 +625,11 @@ void processImageOperation(ImageOperation const& operation, Image& image, ImageR scale = scale.piecewiseMax(Vec2F::filled(0.f)); } if (op->mode == ScaleImageOperation::Nearest) - image = scaleNearest(image, op->scale); + image = scaleNearest(image, scale); else if (op->mode == ScaleImageOperation::Bilinear) - image = scaleBilinear(image, op->scale); + image = scaleBilinear(image, scale); else if (op->mode == ScaleImageOperation::Bicubic) - image = scaleBicubic(image, op->scale); + image = scaleBicubic(image, scale); } else if (auto op = operation.ptr()) { image = image.subImage(Vec2U(op->subset.min()), Vec2U(op->subset.size()));