upgrade to wgpu 24
This commit is contained in:
parent
3c455a9475
commit
a6ddf89014
4 changed files with 13 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue