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

Add GL backend to default backends for better WASM support #812

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

Woyten
Copy link
Contributor

@Woyten Woyten commented Dec 5, 2021

To enable WASM support in Nannou we should aim for WPGU's WebGL2 backend first since WebGPU support in browsers is still very experimental.

This PR proposes to add Backends::GL to the list of default backends s.t. running a Nannou app in the browser does not fail with BuildError::NoAvailableAdapter.

@mitchmindtree
Copy link
Member

Looks good to me!

@mitchmindtree mitchmindtree merged commit ca23f8e into nannou-org:master Dec 15, 2021
This was referenced Dec 15, 2021
@Woyten Woyten deleted the add-gl-backend branch December 15, 2021 11:37
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.

2 participants