diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2020-12-25 14:57:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-25 14:57:48 +0100 |
commit | af2232521c39fec402d08c622dc726b6600f7f12 (patch) | |
tree | f0cd9e33dc29914dd191b690b045dde1345ab745 /modules | |
parent | 545c89461464ee14b2b806dd2dd2c0eef110e181 (diff) | |
parent | 709aa8ae2caa3789ad88b91722ecce5a2115e6e3 (diff) |
Merge pull request #44680 from madmiraal/fix-cvtt-options
Ensure flags are applied to CVTT options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/cvtt/image_compress_cvtt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |