Merge pull request #87144 from BlueCube3310/etc1-bye-bye

Use ETC2 compression for grayscale images
This commit is contained in:
Rémi Verschelde 2024-01-18 09:35:06 +01:00
commit 90a5164536
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -40,7 +40,7 @@
EtcpakType _determine_etc_type(Image::UsedChannels p_channels) {
switch (p_channels) {
case Image::USED_CHANNELS_L:
return EtcpakType::ETCPAK_TYPE_ETC1;
return EtcpakType::ETCPAK_TYPE_ETC2;
case Image::USED_CHANNELS_LA:
return EtcpakType::ETCPAK_TYPE_ETC2_ALPHA;
case Image::USED_CHANNELS_R: