summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-14 16:23:34 -0600
committerBrian Paul <[email protected]>2009-05-21 09:17:09 -0600
commit15f21bf357980284d4aea6270f68bb9b83d26fbd (patch)
tree89f7a36b8f3afe47b60d37a93103880d6a8ca1fa
parenta185bcbdec856cc98c26098e4e447a683eed14d1 (diff)
mesa: updated comment for _MaxElement field
It's the largest array index, plus one.
-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 0df425c9131..2708678e64c 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 */
};