projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a185bcb
)
mesa: updated comment for _MaxElement field
author
Brian Paul
<brianp@vmware.com>
Thu, 14 May 2009 22:23:34 +0000
(16:23 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 21 May 2009 15:17:09 +0000
(09:17 -0600)
It's the largest array index, plus one.
src/mesa/main/mtypes.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/mtypes.h
b/src/mesa/main/mtypes.h
index 0df425c9131a8a13e8741f372bed738f0afaaa6e..2708678e64c38ea3e848647c6b71ddc920f95fae 100644
(file)
--- a/
src/mesa/main/mtypes.h
+++ b/
src/mesa/main/mtypes.h
@@
-1544,7
+1544,7
@@
struct gl_client_array
GLuint _ElementSize; /**< size of each element in bytes */
struct gl_buffer_object *BufferObj;/**< GL_ARB_vertex_buffer_object */
- GLuint _MaxElement; /**< max element index into array buffer */
+ GLuint _MaxElement; /**< max element index into array buffer
+ 1
*/
};