diff options
author | Brian Paul <[email protected]> | 2008-06-05 12:01:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-05 12:01:33 -0600 |
commit | feb722fa98f04a4487b7ec4746bcc8c7296899c8 (patch) | |
tree | a84e7b996529107221614b72b7a8d89cc20cb704 /src/mesa/main/varray.h | |
parent | f6bb2f87b96bd05661020cf8e73e80f5ef25353a (diff) |
mesa: added _mesa_DrawArrays, DrawElements, DrawRangeElements() wrappers for VBO funcs
Diffstat (limited to 'src/mesa/main/varray.h')
-rw-r--r-- | src/mesa/main/varray.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 3589735f684..ba91ecf5f6a 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -147,6 +147,20 @@ _mesa_MultiModeDrawElementsIBM( const GLenum * mode, const GLsizei * count, GLsizei primcount, GLint modestride ); + +extern void GLAPIENTRY +_mesa_DrawArrays(GLenum mode, GLint first, GLsizei count); + +extern void GLAPIENTRY +_mesa_DrawElements(GLenum mode, GLsizei count, GLenum type, + const GLvoid *indices); + +extern void GLAPIENTRY +_mesa_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, + GLenum type, const GLvoid *indices); + + + extern void _mesa_init_varray( GLcontext * ctx ); |