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

WebGLTextures: Avoid redundant calls of texStorage2D(). #24095

Merged
merged 1 commit into from
May 21, 2022

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 20, 2022

Related issue: #22846 (comment)

Description

This PR avoids redundant calls of texStorage2D() which produce the warning GL_INVALID_OPERATION: Texture is immutable..

@Mugen87
Copy link
Collaborator Author

Mugen87 commented May 20, 2022

@osov Do you mind double-checking if this patch fixes the issue for you?

@Mugen87 Mugen87 added this to the r141 milestone May 20, 2022
@Mugen87
Copy link
Collaborator Author

Mugen87 commented May 21, 2022

Merging for further testing.

@Mugen87 Mugen87 merged commit 3300a62 into mrdoob:dev May 21, 2022
@Mugen87
Copy link
Collaborator Author

Mugen87 commented May 21, 2022

Updated builds: 1a4c315

@osov
Copy link

osov commented May 23, 2022

@osov Do you mind double-checking if this patch fixes the issue for you?

Yes, thanks, everything is correct now.

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
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.

None yet

2 participants