Ensure flags are applied to CVTT options

(cherry picked from commit 709aa8ae2c)
This commit is contained in:
Marcel Admiraal 2020-12-25 11:27:22 +00:00 committed by Rémi Verschelde
parent 1fccf78dd2
commit cb629dd06b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -170,6 +170,7 @@ void image_compress_cvtt(Image *p_image, float p_lossy_quality, Image::CompressS
if (p_source == Image::COMPRESS_SOURCE_NORMAL) {
flags |= cvtt::Flags::Uniform;
}
options.flags = flags;
Image::Format target_format = Image::FORMAT_BPTC_RGBA;