diff --git a/src/material.rs b/src/material.rs index 9e20655..dae8cdd 100644 --- a/src/material.rs +++ b/src/material.rs @@ -269,7 +269,7 @@ impl RenderCommand

for SetMaterialBindGroup }; pass.set_bind_group( I, - PolylineMaterial::bind_group(&material), + PolylineMaterial::bind_group(material), PolylineMaterial::dynamic_uniform_indices(material), ); RenderCommandResult::Success