From 03329d3aabb44b24da68dfcd2f04d2d5c501b5ed Mon Sep 17 00:00:00 2001 From: Michael Stewart <156002941+MichStew@users.noreply.github.com> Date: Fri, 29 May 2026 14:44:55 -0400 Subject: [PATCH 1/3] Fix compiler error related to App::new instantiation --- docs/beginner/tutorial1-window/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/beginner/tutorial1-window/README.md b/docs/beginner/tutorial1-window/README.md index 9bcc61083..3af0e30c3 100644 --- a/docs/beginner/tutorial1-window/README.md +++ b/docs/beginner/tutorial1-window/README.md @@ -245,7 +245,7 @@ pub fn run() -> anyhow::Result<()> { let event_loop = EventLoop::with_user_event().build()?; #[cfg(not(target_arch = "wasm32"))] { - let mut app = App::new(); + let mut app = App::new(&event_loop); event_loop.run_app(&mut app)?; } #[cfg(target_arch = "wasm32")] From ca25190380ea16b249214773954a85fc8ac66ee1 Mon Sep 17 00:00:00 2001 From: Michael Stewart <156002941+MichStew@users.noreply.github.com> Date: Sat, 30 May 2026 10:25:40 -0400 Subject: [PATCH 2/3] Update wgpu version to 29.0.3 in README this tutorial has bits that were writted for v28.0.0 and bits that were written for 29.03. See Display field in InstanceDescriptos - does not exist on v28. See also output matching scheme - v28 does not have CurrentSurfaceTexture return type from method get_current_texture. it does however have a TextureStatus. Just some weird discrepencies that keep throwing me off. --- docs/beginner/tutorial1-window/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/beginner/tutorial1-window/README.md b/docs/beginner/tutorial1-window/README.md index 3af0e30c3..1691efb8d 100644 --- a/docs/beginner/tutorial1-window/README.md +++ b/docs/beginner/tutorial1-window/README.md @@ -14,7 +14,7 @@ anyhow = "1.0" winit = { version = "0.30", features = ["android-native-activity"] } env_logger = "0.10" log = "0.4" -wgpu = "28.0" +wgpu = "29.0.3" pollster = "0.3" ``` From 17af78185da158262f85c7100dca51fad4ff813b Mon Sep 17 00:00:00 2001 From: Michael Stewart <156002941+MichStew@users.noreply.github.com> Date: Wed, 3 Jun 2026 13:11:13 -0400 Subject: [PATCH 3/3] Fix type reference for depth_texture in README --- docs/beginner/tutorial8-depth/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/beginner/tutorial8-depth/README.md b/docs/beginner/tutorial8-depth/README.md index dabcae321..133bb867c 100644 --- a/docs/beginner/tutorial8-depth/README.md +++ b/docs/beginner/tutorial8-depth/README.md @@ -120,7 +120,7 @@ Don't forget to store the `depth_texture` in `State`. ```rust pub struct State { // ... - depth_texture: Texture, + depth_texture: texture::Texture, // ... }