diff --git a/wgpu/src/transformation.rs b/wgpu/src/transformation.rs index 666696f3..c991f330 100644 --- a/wgpu/src/transformation.rs +++ b/wgpu/src/transformation.rs @@ -49,6 +49,6 @@ impl AsRef<[f32; 16]> for Transformation { impl From for [f32; 16] { fn from(t: Transformation) -> [f32; 16] { - t.as_ref().clone() + *t.as_ref() } }