diff options
author | Brian Paul <brianp@vmware.com> | 2009-06-19 18:17:25 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-06-19 18:17:25 -0600 |
commit | 9342e6f5a94d3b884dcb98b4741295f1aa23e282 (patch) | |
tree | 9994eef87ed7afb77a17378bf5c4508991b33e0b /src/mesa/main/arrayobj.h | |
parent | b8000c874ecb33b1554407c5e568afbb471dda3a (diff) |
mesa: implement _mesa_GenVertexArrays() for GL_ARB_vertex_array_object
This also involves adding a gl_array_object::VBOonly field. For the
ARB extension, all arrays in the object must reside in a VBO. This flag
keeps track of that requirement.
Diffstat (limited to 'src/mesa/main/arrayobj.h')
-rw-r--r-- | src/mesa/main/arrayobj.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/arrayobj.h b/src/mesa/main/arrayobj.h index e2f156d16c..8999edc724 100644 --- a/src/mesa/main/arrayobj.h +++ b/src/mesa/main/arrayobj.h @@ -74,6 +74,8 @@ void GLAPIENTRY _mesa_BindVertexArrayAPPLE( GLuint id ); void GLAPIENTRY _mesa_DeleteVertexArraysAPPLE(GLsizei n, const GLuint *ids); +void GLAPIENTRY _mesa_GenVertexArrays(GLsizei n, GLuint *arrays); + void GLAPIENTRY _mesa_GenVertexArraysAPPLE(GLsizei n, GLuint *buffer); GLboolean GLAPIENTRY _mesa_IsVertexArrayAPPLE( GLuint id ); |