diff options
author | Lukas Rusak <lorusak@gmail.com> | 2023-05-04 20:18:20 -0700 |
---|---|---|
committer | Lukas Rusak <lorusak@gmail.com> | 2023-05-12 20:45:41 -0700 |
commit | 07f8fb0c22d190ab73cbf4ef662dc2eea7678c3f (patch) | |
tree | 78e5d1c15cb1b5de1fdeef43fce4a36814379510 /tools/depends/native/TexturePacker/src | |
parent | ecf0985187442752bfdf2cf3ec6fa2ab9fe3af7e (diff) |
TexturePacker: use GetDuration() to get frame duration
Signed-off-by: Lukas Rusak <lorusak@gmail.com>
Diffstat (limited to 'tools/depends/native/TexturePacker/src')
-rw-r--r-- | tools/depends/native/TexturePacker/src/TexturePacker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/native/TexturePacker/src/TexturePacker.cpp b/tools/depends/native/TexturePacker/src/TexturePacker.cpp index db466d1ff7..f7fd43fe20 100644 --- a/tools/depends/native/TexturePacker/src/TexturePacker.cpp +++ b/tools/depends/native/TexturePacker/src/TexturePacker.cpp @@ -335,7 +335,7 @@ int TexturePacker::createBundle(const std::string& InputDir, file.GetFrames().push_back(frame); printf(" frame %4i (delay:%4i) %s%c (%d,%d @ %" PRIu64 " bytes)\n", - j, frames.frameList[j].delay, GetFormatString(frame.GetFormat()), + j, frame.GetDuration(), GetFormatString(frame.GetFormat()), frame.HasAlpha() ? ' ' : '*', frame.GetWidth(), frame.GetHeight(), frame.GetUnpackedSize()); } |