Skip to content

Commit

Permalink
Ensure flags are applied to CVTT options
Browse files Browse the repository at this point in the history
(cherry picked from commit 709aa8a)
  • Loading branch information
madmiraal authored and akien-mga committed Nov 6, 2024
1 parent 696cddd commit a3b16ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/cvtt/image_compress_cvtt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a3b16ae

Please sign in to comment.