mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-29 20:30:54 +00:00
Fixed: Alpha channel with 0 is correct, don't change it
--HG-- branch : develop
This commit is contained in:
parent
9f761780f1
commit
dc5ddadcbb
1 changed files with 3 additions and 3 deletions
|
@ -191,9 +191,9 @@ int main(int argc, char **argv)
|
|||
{
|
||||
std::cout << InputFilenames[i] << " (image with uniform alpha channel " << (sint)alpha << ")" << std::endl;
|
||||
|
||||
if (FixAlpha && (alpha == 0 || alpha == 255))
|
||||
{
|
||||
bitmap.makeOpaque();
|
||||
if (FixAlpha && alpha == 255)
|
||||
{
|
||||
bitmap.makeOpaque();
|
||||
|
||||
hasAlpha = false;
|
||||
modified = true;
|
||||
|
|
Loading…
Reference in a new issue