summaryrefslogtreecommitdiff
path: root/src/renderercommon
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderercommon')
-rw-r--r--src/renderercommon/qgl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/renderercommon/qgl.h b/src/renderercommon/qgl.h
index ba1f1428..559c4387 100644
--- a/src/renderercommon/qgl.h
+++ b/src/renderercommon/qgl.h
@@ -977,6 +977,17 @@ extern void (APIENTRY * qglDrawBuffersARB)(GLsizei n, const GLenum *bufs);
#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#endif
+// GL_ARB_vertex_array_object
+extern void (APIENTRY * qglBindVertexArrayARB)(GLuint array);
+extern void (APIENTRY * qglDeleteVertexArraysARB)(GLsizei n, const GLuint *arrays);
+extern void (APIENTRY * qglGenVertexArraysARB)(GLsizei n, GLuint *arrays);
+extern GLboolean (APIENTRY * qglIsVertexArrayARB)(GLuint array);
+#ifndef GL_ARB_vertex_array_object
+#define GL_ARB_vertex_array_object
+#define GL_VERTEX_ARRAY_BINDING_ARB 0x85B5
+#endif
+
+
#if defined(WIN32)
// WGL_ARB_create_context
#ifndef WGL_ARB_create_context