Inverted Red and Blue channels for TGA loading

This commit is contained in:
trotFunky 2019-09-30 19:19:44 +02:00
parent 9e1b72476c
commit 8275ae3109
2 changed files with 16 additions and 1 deletions

View file

@ -32,6 +32,8 @@ public:
private:
/// Load and RGB TGA image file to an array
bool load_tga(const std::string& filename, uint8_t*& data_array);
void invert_channels(uint8_t first_channel,uint8_t second_channel);
};