diff options
-rw-r--r-- | src/tile-atlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile-atlas.cpp b/src/tile-atlas.cpp index 44efd45b..9b3886da 100644 --- a/src/tile-atlas.cpp +++ b/src/tile-atlas.cpp @@ -42,7 +42,7 @@ auto tile_atlas::make_texcoords(Vector2ui pixel_size, Vector2ub tile_count, std: { (x0+x1) / pixel_size[0], 1 - (y0+y1) / pixel_size[1] }, // bottom right { (x0+x1) / pixel_size[0], 1 - y0 / pixel_size[1] }, // top right { x0 / pixel_size[0], 1 - (y0+y1) / pixel_size[1] }, // bottom left - { x0 / pixel_size[0], 1 - y0 / pixel_size[1] }, // top left + { x0 / pixel_size[0], 1 - y0 / pixel_size[1] }, // top left }}; } |