mesa: add comment for struct gl_vertex_buffer_binding

This commit is contained in:
Brian Paul
2013-11-11 11:51:55 -07:00
parent ce193d4f01
commit c8f3722129

View File

@@ -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 */