Fixed colors of RGBA TGA not being inverted
This commit is contained in:
parent
5f1cd422ff
commit
d0b533608a
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ bool Texture::load_rgba_tga(const std::string& rgb_filename, const std::string&
|
||||||
// Now we have an RGBA image, update color_bits
|
// Now we have an RGBA image, update color_bits
|
||||||
color_bits = 32;
|
color_bits = 32;
|
||||||
|
|
||||||
|
invert_channels(0,2);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue