Merge pull request #2 from sunsided/feature/wgpu-25

Update `wgpu` to `26.0`
This commit is contained in:
Héctor 2025-07-22 02:40:31 +02:00 committed by GitHub
commit 453cedec0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

View file

@ -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"] }

View file

@ -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),