Ensure flags are applied to CVTT options

This commit is contained in:
Marcel Admiraal 2020-12-25 11:27:22 +00:00
parent 545c894614
commit 709aa8ae2c
1 changed files with 1 additions and 0 deletions

View File

@ -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;