Fixed colors of RGBA TGA not being inverted

This commit is contained in:
Teo-CD 2019-11-03 15:49:55 +01:00
parent 5f1cd422ff
commit d0b533608a

View file

@ -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
color_bits = 32;
invert_channels(0,2);
return true;
}