summaryrefslogtreecommitdiff
path: root/src/render/mgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/mgl.h')
-rw-r--r--src/render/mgl.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/render/mgl.h b/src/render/mgl.h
index b612c5e03..b762eed94 100644
--- a/src/render/mgl.h
+++ b/src/render/mgl.h
@@ -118,6 +118,13 @@ typedef void (APIENTRY *glInsertEventMarker_t)
typedef void (APIENTRY *glPushGroupMarker_t)
(GLsizei length, const char *marker);
typedef void (APIENTRY *glPopGroupMarker_t) (void);
+typedef void (APIENTRY *glGenVertexArrays_t) (GLsizei n, GLuint *arrays);
+typedef void (APIENTRY *glBindVertexArray_t) (GLuint array);
+typedef void (APIENTRY *glDeleteVertexArrays_t) (GLsizei n, GLuint *arrays);
+typedef void (APIENTRY *glVertexAttribPointer_t) (GLuint index, GLint size,
+ GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
+typedef void (APIENTRY *glEnableVertexAttribArray_t) (GLuint index);
+typedef void (APIENTRY *glDisableVertexAttribArray_t) (GLuint index);
// callback
typedef void (APIENTRY *GLDEBUGPROC_t) (GLenum source, GLenum type, GLuint id,
@@ -148,6 +155,12 @@ defNameE(glGetObjectLabel);
defNameE(glInsertEventMarker);
defNameE(glPushGroupMarker);
defNameE(glPopGroupMarker);
+defNameE(glGenVertexArrays);
+defNameE(glBindVertexArray);
+defNameE(glDeleteVertexArrays);
+defNameE(glVertexAttribPointer);
+defNameE(glEnableVertexAttribArray);
+defNameE(glDisableVertexAttribArray);
#ifdef WIN32
typedef const char* (APIENTRY * wglGetExtensionsString_t) (HDC hdc);