diff options
Diffstat (limited to 'src/mesa/main/varray.h')
-rw-r--r-- | src/mesa/main/varray.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mesa/main/varray.h b/src/mesa/main/varray.h index 168c17243a9..58d115c287e 100644 --- a/src/mesa/main/varray.h +++ b/src/mesa/main/varray.h @@ -1,3 +1,12 @@ +/** + * \file varray.h + * Vertex arrays. + * + * \if subset + * (No-op) + * + * \endif + */ /* * Mesa 3-D graphics library @@ -30,6 +39,7 @@ #include "mtypes.h" +#if _HAVE_FULL_GL extern void _mesa_VertexPointer(GLint size, GLenum type, GLsizei stride, @@ -124,5 +134,14 @@ extern void _mesa_MultiDrawElementsEXT( GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount ); +extern void +_mesa_init_varray( GLcontext * ctx ); + +#else + +/** No-op */ +#define _mesa_init_varray( c ) ((void)0) + +#endif #endif |