summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/glArrays.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/glArrays.h b/lib/glArrays.h
index ed05eeb..42f1d0f 100644
--- a/lib/glArrays.h
+++ b/lib/glArrays.h
@@ -74,3 +74,7 @@ template<size_t N> using glBuffers = glArrays<N, &glGenBuffers, &glDeleteBuffers
using glBuffer = glBuffers<1>;
template<size_t N> using glTextures = glArrays<N, &glGenTextures, &glDeleteTextures>;
using glTexture = glTextures<1>;
+template<size_t N> using glFrameBuffers = glArrays<N, &glGenFramebuffers, &glDeleteFramebuffers>;
+using glFrameBuffer = glFrameBuffers<1>;
+template<size_t N> using glRenderBuffers = glArrays<N, &glGenRenderbuffers, &glDeleteRenderbuffers>;
+using glRenderBuffer = glRenderBuffers<1>;