Skip to content

Commit

Permalink
Fixed wrong block size returned by glGetFormatSize for ASTC_5X5. (#69)
Browse files Browse the repository at this point in the history
Fixes issue #68.
  • Loading branch information
suikki authored and MarkCallow committed Feb 12, 2019
1 parent 4a14267 commit b336a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gl_format.h
Original file line number Diff line number Diff line change
Expand Up @@ -2089,7 +2089,7 @@ static inline void glGetFormatSize( const GLenum internalFormat, GlFormatSize *
pFormatSize->paletteSizeInBits = 0;
pFormatSize->blockSizeInBits = 128;
pFormatSize->blockWidth = 5;
pFormatSize->blockHeight = 6;
pFormatSize->blockHeight = 5;
pFormatSize->blockDepth = 1;
break;
case GL_COMPRESSED_RGBA_ASTC_6x5_KHR: // 4-component ASTC, 6x5 blocks, unsigned normalized
Expand Down

0 comments on commit b336a01

Please sign in to comment.