summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assetFactory/texturePacker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/assetFactory/texturePacker.cpp b/assetFactory/texturePacker.cpp
index 0d0fdb6..64b2131 100644
--- a/assetFactory/texturePacker.cpp
+++ b/assetFactory/texturePacker.cpp
@@ -53,7 +53,7 @@ TexturePacker::pack(Size size) const
}
}
else {
- const auto x = pack({size.x * 2, size.y}), y = pack({size.x, size.y * 2});
+ auto x = pack({size.x * 2, size.y}), y = pack({size.x, size.y * 2});
if (!x.first.empty() && (y.first.empty() || area(x.second) < area(y.second))) {
return x;
}