Skip to content

Commit 01fafd8

Browse files
committed
Upgrade to Bevy 0.19
1 parent 6e44562 commit 01fafd8

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ webgl2 = ["bevy/webgl2"]
1919
webgpu = ["bevy/webgpu"]
2020

2121
[dependencies.bevy]
22-
version = "0.18.0"
22+
version = "0.19.0-rc.3"
2323
default-features = false
2424
features = ["bevy_render"]
2525

2626
[dev-dependencies.bevy]
27-
version = "0.18.0"
27+
version = "0.19.0-rc.3"
2828
default-features = true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ cargo build --target wasm32-unknown-unknown --example "states" --features="webgp
3030

3131
```bash
3232
mkdir -p examples/wasm/target
33-
wget https://raw.githubusercontent.com/bevyengine/bevy/refs/tags/v0.15.0/examples/wasm/index.html -O examples/wasm/index.html
33+
wget https://raw.githubusercontent.com/bevyengine/bevy/refs/tags/v0.19.0-rc.3/examples/wasm/index.html -O examples/wasm/index.html
3434
wasm-bindgen --out-dir examples/wasm/target --out-name wasm_example --target web target/wasm32-unknown-unknown/debug/examples/states.wasm
3535
```
3636

examples/states.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ enum GameState {
1111
// This value should be found experimentally by logging `PipelinesReady` in your app
1212
// during normal use and noting the maximum value.
1313
#[cfg(not(target_arch = "wasm32"))]
14-
const EXPECTED_PIPELINES: usize = 35;
14+
const EXPECTED_PIPELINES: usize = 43;
1515
// The value will likely differ on the web due to different implementations of some
1616
// render features.
1717
#[cfg(all(target_arch = "wasm32", feature = "webgpu", not(feature = "webgl2")))]
18-
const EXPECTED_PIPELINES: usize = 22;
18+
const EXPECTED_PIPELINES: usize = 29;
1919
// Note: These features can be simplified if your app only builds for one of either
2020
// webgpu or webgl2. Simply use `#[cfg(target_arch = "wasm32")]`. If your app builds
2121
// for both, you must add these features (or similar) to your app. See `Cargo.toml`.
2222
#[cfg(all(target_arch = "wasm32", feature = "webgl2", not(feature = "webgpu")))]
23-
const EXPECTED_PIPELINES: usize = 6;
23+
const EXPECTED_PIPELINES: usize = 7;
2424

2525
// You may want to wait an additional period of time or number of frames.
2626
//
@@ -53,7 +53,7 @@ fn setup_loading_screen(
5353

5454
commands.spawn((
5555
PointLight {
56-
shadows_enabled: true,
56+
shadow_maps_enabled: true,
5757
intensity: 1_000_000.,
5858
..default()
5959
},

0 commit comments

Comments
 (0)