Skip to content

Commit 19111ce

Browse files
committed
Fixing glTypeSize so it's always 1, as the KTX spec requires.
1 parent 43c4322 commit 19111ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

encoder/basisu_gpu_texture.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1504,6 +1504,8 @@ namespace basisu
15041504

15051505
header.m_pixelWidth = width;
15061506
header.m_pixelHeight = height;
1507+
1508+
header.m_glTypeSize = 1;
15071509

15081510
header.m_glInternalFormat = internal_fmt;
15091511
header.m_glBaseInternalFormat = base_internal_fmt;

0 commit comments

Comments
 (0)