Inverted Red and Blue channels for TGA loading
This commit is contained in:
parent
9e1b72476c
commit
8275ae3109
2 changed files with 16 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue