diff --git a/Cargo.toml b/Cargo.toml index ba8558c..60bc8c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,14 +7,13 @@ repository = "https://github.com/iced-rs/cryoglyph" license = "MIT OR Apache-2.0 OR Zlib" [dependencies] -wgpu = { version = "24", default-features = false, features = ["wgsl"] } -etagere = "0.2.10" +wgpu = { version = "26", default-features = false, features = ["wgsl"] } +etagere = "0.2" cosmic-text = "0.14" -lru = { version = "0.12.1", default-features = false } -rustc-hash = "2.0" +lru = { version = "0.16", default-features = false } +rustc-hash = "2" [dev-dependencies] -wgpu = "24" winit = "0.30" pollster = "0.4" criterion = { version = "0.5", features = ["html_reports"] } diff --git a/examples/hello-world.rs b/examples/hello-world.rs index 51671cc..2338f46 100644 --- a/examples/hello-world.rs +++ b/examples/hello-world.rs @@ -49,7 +49,7 @@ impl WindowState { .await .unwrap(); let (device, queue) = adapter - .request_device(&DeviceDescriptor::default(), None) + .request_device(&DeviceDescriptor::default()) .await .unwrap(); @@ -203,6 +203,7 @@ impl winit::application::ApplicationHandler for Application { label: None, color_attachments: &[Some(RenderPassColorAttachment { view: &view, + depth_slice: None, resolve_target: None, ops: Operations { load: LoadOp::Clear(wgpu::Color::BLACK),