diff options
author | 2024-07-19 19:10:23 +0200 | |
---|---|---|
committer | 2024-09-20 00:14:47 +0200 | |
commit | a5e69cfb5f7856e4d139ef58e5d022b9d408b542 (patch) | |
tree | 27004395eda5917e2a0bb77f440ac05ff8d8352d /examples/integration | |
parent | aed9a03e3cc30c68488f6e177e2ea0513e7ffc99 (diff) | |
download | iced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.tar.gz iced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.tar.bz2 iced-a5e69cfb5f7856e4d139ef58e5d022b9d408b542.zip |
Update `wgpu` to `22.0`
Diffstat (limited to 'examples/integration')
-rw-r--r-- | examples/integration/src/main.rs | 2 | ||||
-rw-r--r-- | examples/integration/src/scene.rs | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index 5b64cbd1..87a5b22b 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -102,6 +102,8 @@ pub fn main() -> Result<(), winit::error::EventLoopError> { required_features: adapter_features & wgpu::Features::default(), required_limits: wgpu::Limits::default(), + memory_hints: + wgpu::MemoryHints::MemoryUsage, }, None, ) diff --git a/examples/integration/src/scene.rs b/examples/integration/src/scene.rs index f3a7a194..15f97e08 100644 --- a/examples/integration/src/scene.rs +++ b/examples/integration/src/scene.rs @@ -101,5 +101,6 @@ fn build_pipeline( alpha_to_coverage_enabled: false, }, multiview: None, + cache: None, }) } |