Mesa (master): mesa: updated comment for _MaxElement field

Brian Paul brianp at kemper.freedesktop.org
Thu May 21 15:32:19 UTC 2009


Module: Mesa
Branch: master
Commit: 15f21bf357980284d4aea6270f68bb9b83d26fbd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=15f21bf357980284d4aea6270f68bb9b83d26fbd

Author: Brian Paul <brianp at vmware.com>
Date:   Thu May 14 16:23:34 2009 -0600

mesa: updated comment for _MaxElement field

It's the largest array index, plus one.

---

 src/mesa/main/mtypes.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 0df425c..2708678 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 */
 };
 
 




More information about the mesa-commit mailing list