Skip to content

Conversation

@wouterlucas
Copy link
Contributor

Properly guard the creation of a texture behind a promise, so we don't continue to push textures when the loop is still going.

Also bump the default texture processing limit to 42 to allow for a minimum of 24 FPS maintained and not starve the UX of new textures.

@wouterlucas
Copy link
Contributor Author

Screenshot 2025-06-30 at 19 25 57

oh and forgot to mention, sneaky removal of the absX / absY on the MSDF constructor (ouch) that caused major delay on massive MSDF text creations.

@wouterlucas wouterlucas merged commit 63fa6ed into v2 Jun 30, 2025
2 checks passed
@wouterlucas wouterlucas deleted the fix/async-texture-creation branch June 30, 2025 18:49
github-merge-queue bot pushed a commit that referenced this pull request Jul 5, 2025
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.

3 participants