summaryrefslogtreecommitdiff
path: root/lib/glBuffers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/glBuffers.cpp')
-rw-r--r--lib/glBuffers.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/glBuffers.cpp b/lib/glBuffers.cpp
new file mode 100644
index 0000000..cb5ab2a
--- /dev/null
+++ b/lib/glBuffers.cpp
@@ -0,0 +1,13 @@
+#include "glBuffers.h"
+
+void
+glBuffersBase::gen(GLsizei n, GLuint * ids)
+{
+ glGenBuffers(n, ids);
+}
+
+void
+glBuffersBase::del(GLsizei n, const GLuint * ids)
+{
+ glDeleteBuffers(n, ids);
+}