upgrade to wgpu 24

This commit is contained in:
Matheus Rangel 2025-01-22 20:26:52 -03:00 committed by Héctor Ramón Jiménez
parent 3c455a9475
commit a6ddf89014
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 13 additions and 12 deletions

View file

@ -36,7 +36,7 @@ async fn run() {
let scale_factor = window.scale_factor();
// Set up surface
let instance = Instance::new(InstanceDescriptor::default());
let instance = Instance::new(&InstanceDescriptor::default());
let adapter = instance
.request_adapter(&RequestAdapterOptions::default())
.await