diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 15:26:02 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-11-28 15:26:02 +0100 |
commit | 999f1bb049553207a89a998b48d9e214f255b108 (patch) | |
tree | f19e9f9f53eff02026ddb9bda11aedcf77074220 /loader | |
parent | 1b6897ef91e7a82319a295d5f30a796bdc3a6db1 (diff) |
scenery wip
Diffstat (limited to 'loader')
-rw-r--r-- | loader/atlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/atlas.cpp b/loader/atlas.cpp index 1e498e1a..f68ca820 100644 --- a/loader/atlas.cpp +++ b/loader/atlas.cpp @@ -63,7 +63,7 @@ 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]; - fm_assert(Vector2uz{anim_info.pixel_size} == Vector2uz(width, height)); + fm_assert(Vector2uz{anim_info.pixel_size} == Vector2uz{width, height}); auto atlas = std::make_shared<struct anim_atlas>(path, tex, std::move(anim_info)); return anim_atlas_map[atlas->name()] = atlas; |