diff options
Diffstat (limited to 'lib/glVertexArrays.cpp')
-rw-r--r-- | lib/glVertexArrays.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/glVertexArrays.cpp b/lib/glVertexArrays.cpp new file mode 100644 index 0000000..372b49b --- /dev/null +++ b/lib/glVertexArrays.cpp @@ -0,0 +1,13 @@ +#include "glVertexArrays.h" + +void +glVertexArraysBase::gen(GLsizei n, GLuint * ids) +{ + glGenVertexArrays(n, ids); +} + +void +glVertexArraysBase::del(GLsizei n, const GLuint * ids) +{ + glDeleteVertexArrays(n, ids); +} |