diff options
author | BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> | 2024-01-13 13:27:00 +0100 |
---|---|---|
committer | BlueCube3310 <53150244+BlueCube3310@users.noreply.github.com> | 2024-01-13 13:27:00 +0100 |
commit | 381d6348df7ca8c2cc6a65ab0dadf454015b67a1 (patch) | |
tree | 9e05e37372835cd1cc1844a84e0859c7fa5bb1ec /modules/etcpak | |
parent | 26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff) | |
download | redot-engine-381d6348df7ca8c2cc6a65ab0dadf454015b67a1.tar.gz |
Use ETC2 compression for grayscale images
Diffstat (limited to 'modules/etcpak')
-rw-r--r-- | modules/etcpak/image_compress_etcpak.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/etcpak/image_compress_etcpak.cpp b/modules/etcpak/image_compress_etcpak.cpp index f528b92cf2..e9ce92dd80 100644 --- a/modules/etcpak/image_compress_etcpak.cpp +++ b/modules/etcpak/image_compress_etcpak.cpp @@ -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: |