You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Ensure flags are applied to CVTT options
This commit is contained in:
@@ -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
|
if (p_channels == Image::USED_CHANNELS_RG) { //guessing this is a normalmap
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user