From 672e9d6868dd422f87fdbf69e6b7f0ecd84c4b64 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Tue, 23 Aug 2022 13:25:14 +0300 Subject: Make `ImageLoader` take bit field flags --- modules/tga/image_loader_tga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tga/image_loader_tga.h') 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 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 p_image, Ref f, bool p_force_linear, float p_scale); + virtual Error load_image(Ref p_image, Ref f, uint32_t p_flags, float p_scale); virtual void get_recognized_extensions(List *p_extensions) const; ImageLoaderTGA(); }; -- cgit v1.2.3