diff --git a/sg2d-wgpu/src/marks/path.rs b/sg2d-wgpu/src/marks/path.rs index 5d5ca8f..00d4569 100644 --- a/sg2d-wgpu/src/marks/path.rs +++ b/sg2d-wgpu/src/marks/path.rs @@ -248,7 +248,7 @@ impl PathShader { let mut dashed_paths: Vec = Vec::new(); for path in defined_paths.iter() { let mut dash_path_builder = lyon::path::Path::builder(); - let path_measurements = PathMeasurements::from_path(&path, 0.1); + let path_measurements = PathMeasurements::from_path(path, 0.1); let mut sampler = PathSampler::new(&path_measurements, path, &(), SampleType::Distance);