You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 19:31:35 +00:00
Ensure flags are applied to CVTT options
(cherry picked from commit 709aa8ae2c)
This commit is contained in:
committed by
Rémi Verschelde
parent
1fccf78dd2
commit
cb629dd06b
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user