diff --git a/src/shader.rs b/src/shader.rs index 16cc92c..a0c644b 100644 --- a/src/shader.rs +++ b/src/shader.rs @@ -99,6 +99,7 @@ impl Clone for Vertex { } } +#[derive(Copy)] pub struct Buffer { buf: gfx::BufferHandle, batch: gfx::batch::RefBatch,