summaryrefslogtreecommitdiff
path: root/engine/src/renderer/vertex_array.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-08 17:32:26 +0200
committerHampusM <hampus@hampusmat.com>2023-10-08 17:32:26 +0200
commitbe2b986a8466783f40b8627bbe6a3debbe147964 (patch)
tree6b6a783c34a308d641b1ec8ee546e2992928b940 /engine/src/renderer/vertex_array.rs
parentfefe6b84f0e94d8ea941964cd2f34cc159d990df (diff)
feat(engine): add Debug derives
Diffstat (limited to 'engine/src/renderer/vertex_array.rs')
-rw-r--r--engine/src/renderer/vertex_array.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/src/renderer/vertex_array.rs b/engine/src/renderer/vertex_array.rs
index e54f638..5862c7b 100644
--- a/engine/src/renderer/vertex_array.rs
+++ b/engine/src/renderer/vertex_array.rs
@@ -1,3 +1,4 @@
+#[derive(Debug)]
pub struct VertexArray
{
array: gl::types::GLuint,
@@ -46,6 +47,7 @@ impl Drop for VertexArray
}
}
+#[derive(Debug)]
pub enum PrimitiveKind
{
Triangles,