diff --git a/wgpu-native/src/device.rs b/wgpu-native/src/device.rs index 1db2bb979..7180d3ada 100644 --- a/wgpu-native/src/device.rs +++ b/wgpu-native/src/device.rs @@ -21,7 +21,7 @@ pub fn wgpu_create_surface(raw_handle: raw_window_handle::RawWindowHandle) -> id let instance = &GLOBAL.instance; let surface = match raw_handle { #[cfg(target_os = "ios")] - Rwh::IOS(h) => Surface { + Rwh::IOS(h) => core::instance::Surface { #[cfg(feature = "vulkan-portability")] vulkan: None, metal: instance