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

Internal FemtoVG renderer API cleanup #2840

Merged
merged 3 commits into from Jun 7, 2023
Merged

Conversation

tronical
Copy link
Member

@tronical tronical commented Jun 7, 2023

Separate the wasm vs. non-wasm code path on the renderer level, not on the OpenGL context handling. The latter doesn't exist in WebGL.

It's not needed anymore. We can pass the canvas
element to the renderer once
and then we don't need it anymore.
For wasm builds, just require the canvas element.
@tronical tronical merged commit af6b49a into master Jun 7, 2023
26 checks passed
@tronical tronical deleted the simon/femtovg-cleanup branch June 7, 2023 09:30
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