Use Limits::downlevel_defaults in iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2022-03-07 22:32:09 +07:00
parent 4411da25cf
commit a53fa91e0d
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -53,7 +53,7 @@ impl Compositor {
.using_resolution(adapter.limits());
#[cfg(not(target_arch = "wasm32"))]
let limits = wgpu::Limits::default();
let limits = wgpu::Limits::downlevel_defaults();
let (device, queue) = adapter
.request_device(