diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-06 13:00:35 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-07 10:12:33 -0600 |
commit | 0077c879b57f663c038becdde37b2f6671f59150 (patch) | |
tree | 617f3758a150b86b898a951ac68722e66e7949e3 /src/mesa/main/mtypes.h | |
parent | a6c8e900af981e011e51268a2724e5ff4a3ff1eb (diff) |
mesa: added _ElementSize field to gl_client_array
Will be handy for bounds checking later...
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r-- | src/mesa/main/mtypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index bdb1081ca8..716e5c655d 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -1541,6 +1541,7 @@ struct gl_client_array const GLubyte *Ptr; /**< Points to array data */ GLboolean Enabled; /**< Enabled flag is a boolean */ GLboolean Normalized; /**< GL_ARB_vertex_program */ + 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 */ |