Ensure flags are applied to CVTT options
(cherry picked from commit 709aa8ae2c
)
This commit is contained in:
parent
1fccf78dd2
commit
cb629dd06b
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ void image_compress_cvtt(Image *p_image, float p_lossy_quality, Image::CompressS
|
||||||
if (p_source == Image::COMPRESS_SOURCE_NORMAL) {
|
if (p_source == Image::COMPRESS_SOURCE_NORMAL) {
|
||||||
flags |= cvtt::Flags::Uniform;
|
flags |= cvtt::Flags::Uniform;
|
||||||
}
|
}
|
||||||
|
options.flags = flags;
|
||||||
|
|
||||||
Image::Format target_format = Image::FORMAT_BPTC_RGBA;
|
Image::Format target_format = Image::FORMAT_BPTC_RGBA;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue