basis_universal: Sync with upstream a91e94c84

a91e94c849
This commit is contained in:
Rémi Verschelde 2022-12-08 13:49:45 +01:00
parent 12ab5731ab
commit d7905b3c0b
No known key found for this signature in database
GPG key ID: C3336907360768E1
6 changed files with 182 additions and 29 deletions

View file

@ -16867,7 +16867,7 @@ namespace basist
{
m_format = basist::basis_tex_format::cETC1S;
// 3.10.2: "Whether the image has 1 or 2 slices can be determined from the DFDs sample count."
// 3.10.2: "Whether the image has 1 or 2 slices can be determined from the DFD's sample count."
// If m_has_alpha is true it may be 2-channel RRRG or 4-channel RGBA, but we let the caller deal with that.
m_has_alpha = (m_header.m_dfd_byte_length == 60);