Skip to content

KTX2 textures with single MipMap fail to decode#42

Merged
brianpopow merged 3 commits intoSixLabors:mainfrom
Erik-White:bugfix/ktx2-missing-mips
Apr 18, 2026
Merged

KTX2 textures with single MipMap fail to decode#42
brianpopow merged 3 commits intoSixLabors:mainfrom
Erik-White:bugfix/ktx2-missing-mips

Conversation

@Erik-White
Copy link
Copy Markdown
Contributor

Prerequisites

  • I have written a descriptive pull-request title
  • I have verified that there are no overlapping pull-requests open
  • I have verified that I am following the existing coding patterns and practice as demonstrated in the repository. These follow strict Stylecop rules 👮.
  • I have provided test coverage for my change (where applicable)

Description

A simple bug in Ktx2DecoderCore results in missing MipMaps when only a single level of MipMaps is present.

Copy link
Copy Markdown
Contributor

@brianpopow brianpopow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for fixing this @Erik-White

@brianpopow brianpopow merged commit a2926ed into SixLabors:main Apr 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants