mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-12 10:33:51 +00:00
Image slices have m_file_ofs. It is not relative to the start of the header, it is relative to the start of the file. Double-check basisu_basis_file.cpp: `m_images_descs[i].m_file_ofs = (uint32_t)cur_slice_file_ofs;` basis_file_header has m_endpoint_cb_file_ofs. It might be easier to read if the comment on it just said "file offset," but to clear up any confusion if someone is re-reading the spec later this commit leaves the "relative to the" language but clarifies it. Ditto for m_selector_cb_file_ofs.