diff --git a/Cargo.toml b/Cargo.toml index ec8282b79..cbfb69a9f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -52,7 +52,7 @@ drm-fourcc = "2.2.0" font-kit = "0.11.0" image = "0.24" env_logger = "0.10" -wgpu = "0.17.1" +wgpu = "0.18.0" raqote = "0.8.2" raw-window-handle = "0.5.2" pollster = "0.3.0" diff --git a/examples/wgpu.rs b/examples/wgpu.rs index 36c362331..2d2d1186a 100644 --- a/examples/wgpu.rs +++ b/examples/wgpu.rs @@ -252,10 +252,12 @@ impl WindowHandler for Wgpu { resolve_target: None, ops: wgpu::Operations { load: wgpu::LoadOp::Clear(wgpu::Color::BLUE), - store: true, + store: wgpu::StoreOp::Store, }, })], depth_stencil_attachment: None, + timestamp_writes: None, + occlusion_query_set: None, }); }