projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce193d4
)
mesa: add comment for struct gl_vertex_buffer_binding
author
Brian Paul
<brianp@vmware.com>
Mon, 11 Nov 2013 18:51:55 +0000
(11:51 -0700)
committer
Brian Paul
<brianp@vmware.com>
Tue, 12 Nov 2013 18:05:25 +0000
(11:05 -0700)
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index ae96e2326cad1745a06d5c2570f3f9706cbd4a3d..41ffdb765d5b0022f366024a2767fb9be5f69560 100644
(file)
--- 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 */