diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 22:38:15 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2022-10-07 22:38:15 +0200 |
| commit | f845dbb21799d7b2879ba1ea9761fd3e68303ae8 (patch) | |
| tree | cd66ca064bd45c20fd221517095f596268eb3573 /anim-crop-tool/main.cpp | |
| parent | 590be8a51f33de07c7d0aa89d888435a0c2a001f (diff) | |
a
Diffstat (limited to 'anim-crop-tool/main.cpp')
| -rw-r--r-- | anim-crop-tool/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp index d1115bdc..a95d3bae 100644 --- a/anim-crop-tool/main.cpp +++ b/anim-crop-tool/main.cpp @@ -117,7 +117,7 @@ static bool load_file(anim_group& group, options& opts, anim_atlas& atlas, const (int)std::round((group.ground[1] - start[1]) * opts.scale), }; - group.frames.push_back({ground, atlas.offset(), {(unsigned)dest_size.width, (unsigned)dest_size.height}}); + group.frames.push_back({ground, atlas.offset(), {dest_size.width, dest_size.height}}); atlas.add_entry({&group.frames.back(), std::move(resized)}); return true; } |
