From 83b8de5ad6beb5d950cdea46093aed3d8550bd34 Mon Sep 17 00:00:00 2001 From: ardocrat Date: Fri, 21 Jul 2023 03:58:58 +0300 Subject: [PATCH] build: fix import --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 2e05c8e..1c28c58 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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"),