mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Use faster method for packing the UI atlas
This commit is contained in:
1 parent
68a8ba856f
commit
1bef13c227
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user