Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextureUtils: Add forceContextLoss() to decompress(). #27136

Merged
merged 1 commit into from Nov 7, 2023

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented Nov 7, 2023

Fixed #27100.

Description

This PR introduces a call of forceContextLoss() in TextureUtils.decompress() in order to prevent the "Too many active WebGL contexts." warning when using the method multiple times.

@Mugen87 Mugen87 added this to the r159 milestone Nov 7, 2023
@Mugen87 Mugen87 merged commit b8e78a3 into mrdoob:dev Nov 7, 2023
17 of 18 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.

Proper way to release context of a renderer immediately?
1 participant