summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-11 11:51:55 -0700
committerBrian Paul <[email protected]>2013-11-12 11:05:25 -0700
commitc8f3722129f2311583e605fb65bb4ab41252cf91 (patch)
tree47c33d6a786b0c5ed5f4d15216f01af4b0bf0bd7 /src/mesa
parentce193d4f01baa7f88692164f5673606de162f483 (diff)
mesa: add comment for struct gl_vertex_buffer_binding
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h6
1 files changed, 6 insertions, 0 deletions
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 */