diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:23:11 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-26 08:23:11 +0200 |
commit | 985fc6c5dcc962740d69b8dcd9f437395a696dce (patch) | |
tree | 5039fed3c569200f2d45f81e02f231b8d3abe7bc /modules/tga/image_loader_tga.h | |
parent | 1b31241445ac0d6bb2c30aa1dfa5dac7342fe08e (diff) | |
parent | 200f6ac0894982b31c59acc11cd5f8d4f8971219 (diff) |
Merge pull request #65717 from Ithamar/feat-tga-16bits
Add 16-bits TGA support
Diffstat (limited to 'modules/tga/image_loader_tga.h')
-rw-r--r-- | modules/tga/image_loader_tga.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/tga/image_loader_tga.h b/modules/tga/image_loader_tga.h index b257ed110d..de964373ed 100644 --- a/modules/tga/image_loader_tga.h +++ b/modules/tga/image_loader_tga.h @@ -33,6 +33,8 @@ #include "core/io/image_loader.h" +#define TGA_IMAGE_DESCRIPTOR_ALPHA_MASK 0xf + class ImageLoaderTGA : public ImageFormatLoader { enum tga_type_e { TGA_TYPE_NO_DATA = 0, |