Skip to content

fix text texture updating #3697

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

Merged
merged 1 commit into from
Apr 15, 2019
Merged

Conversation

Spongman
Copy link
Contributor

closes #3695

#3646 made it so bindShader() no longer calls bindTextures(). this PR fixes the text rendering code to accommodate that, assuming that that behavior is going to continue.

@stalgiag
Copy link
Contributor

Thanks for the fix @Spongman. Sorry for not catching that text was relying on that differently. I am okay with bindShader calling bindTextures in the the future but we would have to figure out how to handle the timing so that uniforms are correct before doing that.

@Spongman
Copy link
Contributor Author

Spongman commented Apr 15, 2019

no worries. i think it's probably best to leave it the way you have it right now (separated). maybe it's worth revisiting the naming of those internal methods sometime to make them more accurately reflect what's going on inside...

@Spongman Spongman closed this Apr 15, 2019
@Spongman Spongman reopened this Apr 15, 2019
@stalgiag stalgiag merged commit 696ccb6 into processing:master Apr 15, 2019
@Spongman Spongman deleted the fix-text-textures branch July 12, 2019 00:00
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.

webgl text() fails to render new glyphs on second call in v0.8.0
2 participants