summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-14 16:23:34 -0600
committerBrian Paul <brianp@vmware.com>2009-05-21 09:17:09 -0600
commit15f21bf357980284d4aea6270f68bb9b83d26fbd (patch)
tree89f7a36b8f3afe47b60d37a93103880d6a8ca1fa /src
parenta185bcbdec856cc98c26098e4e447a683eed14d1 (diff)
mesa: updated comment for _MaxElement field
It's the largest array index, plus one.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/mtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 0df425c913..2708678e64 100644
--- 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 */
};