Update wgpu to 24 and use cryoglyph fork

Co-authored-by: Winfried Baumann <codewing@web.de>
This commit is contained in:
Héctor Ramón Jiménez 2025-03-09 01:38:34 +01:00
parent 86e8494bfa
commit fb2544021a
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
9 changed files with 126 additions and 90 deletions

View file

@ -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()
});