diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 21:11:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 21:11:33 +0200 |
commit | df2073a5692c991e4fc43c926334983997d272af (patch) | |
tree | 60d959c0e1dd97f0b4e63eacc60c162fc4a3e670 /src/tile-atlas.hpp | |
parent | 04ee43ea683f5b9b591e10409b5e5a622e8a198a (diff) |
lots of refactoring types crap
Diffstat (limited to 'src/tile-atlas.hpp')
-rw-r--r-- | src/tile-atlas.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile-atlas.hpp b/src/tile-atlas.hpp index 712c396c..97f9f408 100644 --- a/src/tile-atlas.hpp +++ b/src/tile-atlas.hpp @@ -29,7 +29,7 @@ struct tile_atlas final private: static std::unique_ptr<const texcoords[]> make_texcoords_array(Vector2ui pixel_size, Vector2ub tile_count); - static texcoords make_texcoords(Vector2ui pixel_size, Vector2ub tile_count, std::uint8_t i); + static texcoords make_texcoords(Vector2ui pixel_size, Vector2ub tile_count, std::size_t i); std::unique_ptr<const texcoords[]> texcoords_; GL::Texture2D tex_; |