From f07d626a2661858c0c5f820bd64c7151c76a4ecd Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 18 Oct 2022 16:53:04 +0200 Subject: a --- src/tile-atlas.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src') 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[]>(max); for (std::uint_fast16_t i = 0; i < max; i++) - { ptr[i] = make_texcoords(size, dims, i); - } return ptr; } -- cgit v1.2.3