Skip to content

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

Merged
mitchmindtree merged 1 commit intonannou-org:masterfrom
Woyten:add-gl-backend
Dec 15, 2021
Merged

Add GL backend to default backends for better WASM support#812
mitchmindtree merged 1 commit intonannou-org:masterfrom
Woyten:add-gl-backend

Conversation

@Woyten
Copy link
Copy Markdown
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
Copy Markdown
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