diff options
Diffstat (limited to 'src/tile-atlas.cpp')
-rw-r--r-- | src/tile-atlas.cpp | 2 |
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; } |