diff options
author | 2025-03-09 01:38:34 +0100 | |
---|---|---|
committer | 2025-03-09 01:38:34 +0100 | |
commit | fb2544021a40d029a99cadda7cf59acf5e7dc455 (patch) | |
tree | 3760dd8a8c1d3bafaadefd3e07c7c70820e8d582 /examples | |
parent | 86e8494bfa460bdbf506695f8f4b4f01a9cf5088 (diff) | |
download | iced-fb2544021a40d029a99cadda7cf59acf5e7dc455.tar.gz iced-fb2544021a40d029a99cadda7cf59acf5e7dc455.tar.bz2 iced-fb2544021a40d029a99cadda7cf59acf5e7dc455.zip |
Update `wgpu` to `24` and use `cryoglyph` fork
Co-authored-by: Winfried Baumann <codewing@web.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/integration/src/main.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/integration/src/main.rs b/examples/integration/src/main.rs index 386e0f70..7c5388ab 100644 --- a/examples/integration/src/main.rs +++ b/examples/integration/src/main.rs @@ -70,10 +70,9 @@ pub fn main() -> Result<(), winit::error::EventLoopError> { ); let clipboard = Clipboard::connect(window.clone()); - let backend = - wgpu::util::backend_bits_from_env().unwrap_or_default(); + let backend = wgpu::Backends::from_env().unwrap_or_default(); - let instance = wgpu::Instance::new(wgpu::InstanceDescriptor { + let instance = wgpu::Instance::new(&wgpu::InstanceDescriptor { backends: backend, ..Default::default() }); |