diff options
Diffstat (limited to 'anim-crop-tool/atlas.cpp')
-rw-r--r-- | anim-crop-tool/atlas.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/anim-crop-tool/atlas.cpp b/anim-crop-tool/atlas.cpp index 8ee52054..05575298 100644 --- a/anim-crop-tool/atlas.cpp +++ b/anim-crop-tool/atlas.cpp @@ -12,7 +12,7 @@ void anim_atlas_row::add_entry(const anim_atlas_entry& x) auto& frame = *x.frame; const auto& mat = x.mat; frame.offset = {xpos, ypos}; - frame.size = {(unsigned)mat.cols, (unsigned)mat.rows}; + frame.size = {mat.cols, mat.rows}; ASSERT(mat.rows > 0 && mat.cols > 0); data.push_back(x); |