Skip to content

Conversation

@felixpalmer
Copy link
Collaborator

Closes #9841

Background

#9241 added an unneeded call to generateMipmaps() that could execute before data was in the texture, causing corruption

Change List

  • Remove generateMipmaps() as _loadIcons() performs it after each texture load

@felixpalmer felixpalmer requested a review from ibgreen December 9, 2025 17:24
@coveralls
Copy link

coveralls commented Dec 9, 2025

Coverage Status

coverage: 91.088%. remained the same
when pulling c290f30 on felix/premature-mipmaps
into accc5d9 on master.

@Pessimistress Pessimistress merged commit 065e924 into master Jan 11, 2026
5 checks passed
@Pessimistress Pessimistress deleted the felix/premature-mipmaps branch January 11, 2026 23:45
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.

[Bug] IconLayer: Texture corruption caused by premature generateMipmapsWebGL() calls in v9.2

4 participants