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

wasm: use of webgl2 breaks webgpu build #33

Open
martinlindhe opened this issue Jan 18, 2024 · 0 comments
Open

wasm: use of webgl2 breaks webgpu build #33

martinlindhe opened this issue Jan 18, 2024 · 0 comments

Comments

@martinlindhe
Copy link

Trying to compile my bevy wasm game to use webgpu,
I noticed that bevy_save enables bevy/webgl2 feature, which auto-disables webgpu support.

Would it be possible to get rid of this from Cargo.toml ?

bevy_save/Cargo.toml

Lines 25 to 26 in f2784c2

[target.'cfg(target_arch = "wasm32")'.dependencies]
bevy = { version = "0.12", default-features = false, features = ["webgl2"] }

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

No branches or pull requests

1 participant