From 1bef13c227ecdf016898c2e75b44362a288cc8ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Sat, 24 Jan 2026 10:44:00 +0100 Subject: [PATCH] Use faster method for packing the UI atlas --- UI/UIAtlas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/UIAtlas.cpp b/UI/UIAtlas.cpp index 06ef58f74a..ed1d02a2f4 100644 --- a/UI/UIAtlas.cpp +++ b/UI/UIAtlas.cpp @@ -409,7 +409,7 @@ static bool GenerateUIAtlasImage(Atlas *atlas, float dpiScale, Image *dest, int int imageWidth = RoundToNextPowerOf2((int)sqrtf(area)); Instant bucketStart = Instant::Now(); - bucket.Pack(imageWidth); + bucket.Pack2(imageWidth); INFO_LOG(Log::G3D, " - Packed in %.2f ms (image size: %dx%d)", bucketStart.ElapsedMs(), bucket.w, bucket.h); Instant resolveStart = Instant::Now();