-
Notifications
You must be signed in to change notification settings - Fork 20
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
Updated to bevy 0.13 #14
base: main
Are you sure you want to change the base?
Conversation
@sclausen Thanks for the PR! It worked well for me, except the naga_oil dependency breaks bevy when there's a 3d camera.
A fix I found is in the Cargo.toml, changing the [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# Omit the `glsl` feature in non-WebAssembly by default.
naga_oil = { version = "0.13", default-features = false, features = [
"test_shader",
] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
naga_oil = "0.13" |
@AnthonyTornetta exactly as the commit message says, I added a 3d camera to tone one_shot example and adjusted the Cargo.toml, as you suggested. Thank you very much for your input! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well.
It seems
futures-lite
andcodespan-reporting
were unused dependencies, so I removed them.