diff options
| author | HampusM <hampus@hampusmat.com> | 2026-04-17 17:23:23 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-04-17 17:23:23 +0200 |
| commit | 50fa4f2527bf86ff4864e966b7c3fbed50fab527 (patch) | |
| tree | 85c003b583c2d91ec418b5c80b4b382ac7c6ae15 /opengl-bindings/src | |
| parent | 6285d4e72141e714ee319cf616e888fc6868a993 (diff) | |
feat(opengl-bindings): make buffer::Usage derive Clone & Copy
Diffstat (limited to 'opengl-bindings/src')
| -rw-r--r-- | opengl-bindings/src/buffer.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<Item: ReprC> Buffer<Item> } /// 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. |
