summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-18 16:53:04 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-18 16:53:04 +0200
commitf07d626a2661858c0c5f820bd64c7151c76a4ecd (patch)
tree94053cc3abf2ea0b2864402107f27e1e1fa40311 /src
parente1e3ba0965390b906939f9dde3f3df42f9abfc45 (diff)
a
Diffstat (limited to 'src')
-rw-r--r--src/tile-atlas.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tile-atlas.cpp b/src/tile-atlas.cpp
index 0b09b493..6688536f 100644
--- a/src/tile-atlas.cpp
+++ b/src/tile-atlas.cpp
@@ -49,9 +49,7 @@ auto tile_atlas::make_texcoords_array(Vector2ui size, Vector2ui dims) -> std::un
const std::uint32_t max = sz.product();
auto ptr = std::make_unique<std::array<Vector2, 4>[]>(max);
for (std::uint_fast16_t i = 0; i < max; i++)
- {
ptr[i] = make_texcoords(size, dims, i);
- }
return ptr;
}