build: fix import
This commit is contained in:
parent
e529c011b0
commit
83b8de5ad6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ fn android_main(app: AndroidApp) {
|
|||
use winit::platform::android::EventLoopBuilderExtAndroid;
|
||||
let mut options = eframe::NativeOptions::default();
|
||||
// Setup limits that are guaranteed to be compatible with Android devices.
|
||||
options.wgpu_options.device_descriptor = Arc::new(|adapter| {
|
||||
options.wgpu_options.device_descriptor = std::sync::Arc::new(|adapter| {
|
||||
let base_limits = wgpu::Limits::downlevel_webgl2_defaults();
|
||||
wgpu::DeviceDescriptor {
|
||||
label: Some("egui wgpu device"),
|
||||
|
|
Loading…
Reference in a new issue