Fixed colors of RGBA TGA not being inverted
This commit is contained in:
parent
370ce194fd
commit
6827b77bde
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
|
||||
color_bits = 32;
|
||||
|
||||
invert_channels(0,2);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue