set wgpu's adapter backend to PRIMARY

This commit is contained in:
DominosCinnaStix 2020-05-14 11:55:26 -04:00 committed by GitHub
parent 7565d294af
commit cd6064fd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ impl iced_native::window::Backend for Backend {
}, },
compatible_surface: None, compatible_surface: None,
}, },
wgpu::BackendBit::all(), wgpu::BackendBit::PRIMARY,
) )
.await .await
.expect("Request adapter"); .expect("Request adapter");