From 50fa4f2527bf86ff4864e966b7c3fbed50fab527 Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 17 Apr 2026 17:23:23 +0200 Subject: feat(opengl-bindings): make buffer::Usage derive Clone & Copy --- opengl-bindings/src/buffer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opengl-bindings/src') diff --git a/opengl-bindings/src/buffer.rs b/opengl-bindings/src/buffer.rs index 7d79d10..6fb3c2f 100644 --- a/opengl-bindings/src/buffer.rs +++ b/opengl-bindings/src/buffer.rs @@ -217,7 +217,7 @@ impl Buffer } /// Buffer usage. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub enum Usage { /// The buffer data is set only once and used by the GPU at most a few times. -- cgit v1.2.3-18-g5258