From: Brian Paul Date: Mon, 11 Nov 2013 18:51:55 +0000 (-0700) Subject: mesa: add comment for struct gl_vertex_buffer_binding X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8f3722129f2311583e605fb65bb4ab41252cf91;p=mesa.git mesa: add comment for struct gl_vertex_buffer_binding --- diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index ae96e2326ca..41ffdb765d5 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1502,6 +1502,12 @@ struct gl_vertex_attrib_array GLuint VertexBinding; /**< Vertex buffer binding */ }; + +/** + * This describes the buffer object used for a vertex array (or + * multiple vertex arrays). If BufferObj points to the default/null + * buffer object, then the vertex array lives in user memory and not a VBO. + */ struct gl_vertex_buffer_binding { GLintptr Offset; /**< User-specified offset */