From: Brian Paul Date: Thu, 14 May 2009 22:23:34 +0000 (-0600) Subject: mesa: updated comment for _MaxElement field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15f21bf357980284d4aea6270f68bb9b83d26fbd;p=mesa.git mesa: updated comment for _MaxElement field It's the largest array index, plus one. --- 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 */ };