summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-03-09 01:38:34 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-03-09 01:38:34 +0100
commitfb2544021a40d029a99cadda7cf59acf5e7dc455 (patch)
tree3760dd8a8c1d3bafaadefd3e07c7c70820e8d582 /examples
parent86e8494bfa460bdbf506695f8f4b4f01a9cf5088 (diff)
downloadiced-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.rs5
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()
});