Merge pull request #281 from cwoffenden/invalid-char

Minor: invalid char triggers Unicode error
This commit is contained in:
Rich Geldreich
2022-02-24 22:48:49 -08:00
committed by GitHub

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);