Fixed colors of RGBA TGA not being inverted

This commit is contained in:
trotFunky 2019-11-03 15:49:55 +01:00
parent 370ce194fd
commit 6827b77bde

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;
}