Fixed: Alpha channel with 0 is correct, don't change it

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent 9f761780f1
commit dc5ddadcbb

@ -191,7 +191,7 @@ int main(int argc, char **argv)
{ {
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)alpha << ")" << std::endl; std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)alpha << ")" << std::endl;
if (FixAlpha && (alpha == 0 || alpha == 255)) if (FixAlpha && alpha == 255)
{ {
bitmap.makeOpaque(); bitmap.makeOpaque();

Loading…
Cancel
Save