mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-06-08 08:33:53 +00:00
Fixing glTypeSize so it's always 1, as the KTX spec requires.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user