diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 19:12:21 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-21 19:12:26 +0200 |
commit | 387ab8e946398c29bd462041689e9da4152ec52b (patch) | |
tree | 6be4a6f9c73d27460467fcaa7b3a366ec2ee011c /main | |
parent | a4847d340b8a90cc538247280de281ca24790c82 (diff) |
tile atlas shenanigans
Diffstat (limited to 'main')
-rw-r--r-- | main/loader-impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/loader-impl.cpp b/main/loader-impl.cpp index 2c37c487..4a489132 100644 --- a/main/loader-impl.cpp +++ b/main/loader-impl.cpp @@ -34,7 +34,7 @@ struct loader_impl final : loader_ std::string shader(Containers::StringView filename) override; Trade::ImageData2D tile_texture(Containers::StringView filename) override; - std::shared_ptr<struct tile_atlas> tile_atlas(Containers::StringView filename, Vector2ui size) override; + std::shared_ptr<struct tile_atlas> tile_atlas(Containers::StringView filename, Vector2ub size) override; static void set_application_working_directory(); @@ -52,7 +52,7 @@ std::string loader_impl::shader(Containers::StringView filename) return ret; } -std::shared_ptr<tile_atlas> loader_impl::tile_atlas(Containers::StringView name, Vector2ui size) +std::shared_ptr<tile_atlas> loader_impl::tile_atlas(Containers::StringView name, Vector2ub size) { auto it = atlas_map.find(name); if (it != atlas_map.end()) |