Fixing glTypeSize so it's always 1, as the KTX spec requires.

This commit is contained in:
Richard Geldreich
2022-02-11 21:28:02 -05:00
parent 43c4322a72
commit 19111ce77b

View File

@@ -1504,6 +1504,8 @@ namespace basisu
header.m_pixelWidth = width;
header.m_pixelHeight = height;
header.m_glTypeSize = 1;
header.m_glInternalFormat = internal_fmt;
header.m_glBaseInternalFormat = base_internal_fmt;