Skip to content

Commit

Permalink
Merge pull request #76516 from clayjohn/DXT1
Browse files Browse the repository at this point in the history
Use DXT1 when compressing PNGs with RGB format
  • Loading branch information
akien-mga committed Apr 27, 2023
2 parents b81387d + f84c6df commit 578ca94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/etcpak/image_compress_etcpak.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ EtcpakType _determine_dxt_type(Image::UsedChannels p_channels) {
case Image::USED_CHANNELS_RG:
return EtcpakType::ETCPAK_TYPE_DXT5_RA_AS_RG;
case Image::USED_CHANNELS_RGB:
return EtcpakType::ETCPAK_TYPE_DXT5;
return EtcpakType::ETCPAK_TYPE_DXT1;
case Image::USED_CHANNELS_RGBA:
return EtcpakType::ETCPAK_TYPE_DXT5;
default:
Expand Down

0 comments on commit 578ca94

Please sign in to comment.