Merge pull request #2 from sunsided/feature/wgpu-25
Update `wgpu` to `26.0`
This commit is contained in:
commit
453cedec0d
2 changed files with 6 additions and 6 deletions
|
|
@ -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"] }
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue