summaryrefslogtreecommitdiff
path: root/opengl-bindings/src/vertex_array.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-08-11 12:30:58 +0200
committerHampusM <hampus@hampusmat.com>2026-08-11 12:30:58 +0200
commit4860c458078f714df46e683944735645f9d73618 (patch)
tree1ac6293eb80a53f976fb7ea323d981df720443aa /opengl-bindings/src/vertex_array.rs
parent37496a6db6b73b987b881ddd568d4a609389670c (diff)
feat(opengl-bindings): make more types derive Clone
Diffstat (limited to 'opengl-bindings/src/vertex_array.rs')
-rw-r--r--opengl-bindings/src/vertex_array.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/opengl-bindings/src/vertex_array.rs b/opengl-bindings/src/vertex_array.rs
index 74ef899..91e62c5 100644
--- a/opengl-bindings/src/vertex_array.rs
+++ b/opengl-bindings/src/vertex_array.rs
@@ -5,7 +5,7 @@ use safer_ffi::layout::ReprC;
use crate::buffer::Buffer;
use crate::MaybeCurrentContextWithFns;
-#[derive(Debug)]
+#[derive(Debug, Clone)]
pub struct VertexArray
{
array: crate::sys::types::GLuint,