Skip to content

Commit

Permalink
don't add extra subtexture
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed May 22, 2018
1 parent 3fba34c commit ffac850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ std::vector<Magick::Image> load_image(Magick::Image &img)
static_cast<float>(copy.columns()) / img.columns(),
1.0f - (static_cast<float>(copy.rows()) / img.rows())));
}
else
else if (process_mode != PROCESS_ATLAS)
{
subimage_data.push_back(SubImage(0, "", 0.0f, 1.0f, 1.0f, 0.0f));
}
Expand Down

0 comments on commit ffac850

Please sign in to comment.