diff options
author | Yuri Sizov <yuris@humnom.net> | 2022-08-23 13:25:14 +0300 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2022-08-23 14:39:01 +0300 |
commit | 672e9d6868dd422f87fdbf69e6b7f0ecd84c4b64 (patch) | |
tree | e3bab7f256f0b7b798d2e337c2fbb38b076aeb19 /modules/tga/image_loader_tga.h | |
parent | d5606503b47a98a5d1d925b2b655760dab850e6e (diff) |
Make `ImageLoader` take bit field flags
Diffstat (limited to 'modules/tga/image_loader_tga.h')
-rw-r--r-- | modules/tga/image_loader_tga.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/tga/image_loader_tga.h b/modules/tga/image_loader_tga.h index 9b7cbbac77..d95c5ff30b 100644 --- a/modules/tga/image_loader_tga.h +++ b/modules/tga/image_loader_tga.h @@ -73,7 +73,7 @@ class ImageLoaderTGA : public ImageFormatLoader { static Error convert_to_image(Ref<Image> p_image, const uint8_t *p_buffer, const tga_header_s &p_header, const uint8_t *p_palette, const bool p_is_monochrome, size_t p_input_size); public: - virtual Error load_image(Ref<Image> p_image, Ref<FileAccess> f, bool p_force_linear, float p_scale); + virtual Error load_image(Ref<Image> p_image, Ref<FileAccess> f, uint32_t p_flags, float p_scale); virtual void get_recognized_extensions(List<String> *p_extensions) const; ImageLoaderTGA(); }; |