From 81dfda9ea0a4049d141d6af9534255ee4611de8a Mon Sep 17 00:00:00 2001 From: Kae <80987908+Novaenia@users.noreply.github.com> Date: Sat, 28 Dec 2024 10:46:37 +1100 Subject: [PATCH] Update StarImageProcessing.cpp --- source/core/StarImageProcessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/StarImageProcessing.cpp b/source/core/StarImageProcessing.cpp index d599c2c..983ec4e 100644 --- a/source/core/StarImageProcessing.cpp +++ b/source/core/StarImageProcessing.cpp @@ -26,7 +26,7 @@ Image scaleNearest(Image const& srcImage, Vec2F const& scale) { } #pragma GCC push_options -#pragma GCC optimize("-fno-unsafe-math-optimizations") +#pragma GCC optimize("-O3") Image scaleBilinear(Image const& srcImage, Vec2F const& scale) { Vec2U srcSize = srcImage.size(); Vec2U destSize = Vec2U::round(vmult(Vec2F(srcSize), scale));