From 709aa8ae2caa3789ad88b91722ecce5a2115e6e3 Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Fri, 25 Dec 2020 11:27:22 +0000 Subject: Ensure flags are applied to CVTT options --- modules/cvtt/image_compress_cvtt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/cvtt/image_compress_cvtt.cpp b/modules/cvtt/image_compress_cvtt.cpp index 5d97164dbf..787b6dbf80 100644 --- a/modules/cvtt/image_compress_cvtt.cpp +++ b/modules/cvtt/image_compress_cvtt.cpp @@ -171,6 +171,7 @@ void image_compress_cvtt(Image *p_image, float p_lossy_quality, Image::UsedChann if (p_channels == Image::USED_CHANNELS_RG) { //guessing this is a normalmap flags |= cvtt::Flags::Uniform; } + options.flags = flags; Image::Format target_format = Image::FORMAT_BPTC_RGBA; -- cgit v1.2.3