소스 검색

Merge pull request #44680 from madmiraal/fix-cvtt-options

Ensure flags are applied to CVTT options
Rémi Verschelde 4 년 전
부모
커밋
af2232521c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      modules/cvtt/image_compress_cvtt.cpp

+ 1 - 0
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;