Update wgpu to 0.18

This commit is contained in:
Héctor Ramón Jiménez 2023-10-27 03:13:18 +02:00 committed by Josh Groves
parent 6aaaf5071e
commit 2caa9fc5e5
2 changed files with 4 additions and 2 deletions

View file

@ -8,7 +8,7 @@ repository = "https://github.com/grovesNL/glyphon"
license = "MIT OR Apache-2.0 OR Zlib"
[dependencies]
wgpu = "0.17.1"
wgpu = "0.18"
etagere = "0.2.8"
cosmic-text = "0.10"
lru = "0.11"

View file

@ -130,10 +130,12 @@ async fn run() {
resolve_target: None,
ops: Operations {
load: LoadOp::Clear(wgpu::Color::BLACK),
store: true,
store: wgpu::StoreOp::Store,
},
})],
depth_stencil_attachment: None,
timestamp_writes: None,
occlusion_query_set: None,
});
text_renderer.render(&atlas, &mut pass).unwrap();