summaryrefslogtreecommitdiffhomepage
path: root/anim-crop-tool
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-11-07 16:31:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2022-11-07 16:31:31 +0100
commit8df4de4557ea49ff39462505a0662aacca447bf3 (patch)
treef2620bc4d9337f32bbc009c0bc77b40ee9370f76 /anim-crop-tool
parent151e1f9a56bce31c2703610980c00fc8f527aa6a (diff)
animations kinda work
Diffstat (limited to 'anim-crop-tool')
-rw-r--r--anim-crop-tool/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/anim-crop-tool/main.cpp b/anim-crop-tool/main.cpp
index 9e1e971c..ad92780f 100644
--- a/anim-crop-tool/main.cpp
+++ b/anim-crop-tool/main.cpp
@@ -292,7 +292,7 @@ int main(int argc, char** argv)
const std::string base_name = anim_info.object_name + "_" + anim_info.anim_name;
- if (auto pathname = opts.output_dir/(base_name + ".tga"); !atlas.dump(pathname)) {
+ if (auto pathname = opts.output_dir/(base_name + ".png"); !atlas.dump(pathname)) {
Error{} << "error: failed writing image to" << pathname << ":"
<< std::strerror(errno); // NOLINT(concurrency-mt-unsafe)
return EX_CANTCREAT;