summaryrefslogtreecommitdiffhomepage
path: root/loader
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:03:49 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-22 21:03:49 +0100
commit2141477c69d379b02ca52e0df9171834b37aadd7 (patch)
tree347f865c403fd86e24ae6f1d2d327554d23f1c33 /loader
parent4f458fba80cbcbfecf3fa54284e3004852bbc172 (diff)
scenery work
Diffstat (limited to 'loader')
-rw-r--r--loader/atlas.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/loader/atlas.cpp b/loader/atlas.cpp
index fdafc39e..ab289647 100644
--- a/loader/atlas.cpp
+++ b/loader/atlas.cpp
@@ -43,7 +43,6 @@ std::shared_ptr<anim_atlas> loader_impl::anim_atlas(StringView name)
fm_assert(anim_info.nframes == 1 || anim_info.fps > 0);
const auto size = tex.pixels().size();
const auto width = size[1], height = size[0];
- using Vector2uz = Math::Vector2<std::size_t>;
fm_assert(Vector2uz{anim_info.pixel_size} == Vector2uz(width, height));
auto atlas = std::make_shared<struct anim_atlas>(path, tex, std::move(anim_info));