diff --git a/src/Mesh.cc b/src/Mesh.cc index f0ec28c..7db7e67 100644 --- a/src/Mesh.cc +++ b/src/Mesh.cc @@ -19,4 +19,5 @@ Mesh::Mesh(std::span verts) { Mesh::~Mesh() { glDeleteVertexArrays(1, &vao); + glDeleteBuffers(1, &vbo); }