diff options
author | Brian Paul <brianp@vmware.com> | 2009-05-06 15:17:25 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-05-07 10:12:33 -0600 |
commit | b9d0f947f2bcc47047b162e3d7c8f91b6153e02c (patch) | |
tree | 44ece271963c4792f87d690da436a6555ea32463 /src/mesa/main/mtypes.h | |
parent | 800b14cd378ed708a29230d92031ac7b6ad6a286 (diff) |
mesa: Compute gl_client_array->_MaxElement during array validation
Used to be done in the glVertex/Normal/Color/etc/Pointer() calls but
if the VBO was reallocated the size could change.
New _NEW_BUFFER_OBJECT state flag.
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 716e5c655d..368acde7a1 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2619,6 +2619,7 @@ struct gl_matrix_stack #define _NEW_PROGRAM 0x8000000 /**< __GLcontextRec::VertexProgram */ #define _NEW_CURRENT_ATTRIB 0x10000000 /**< __GLcontextRec::Current */ #define _NEW_PROGRAM_CONSTANTS 0x20000000 +#define _NEW_BUFFER_OBJECT 0x40000000 #define _NEW_ALL ~0 /*@}*/ |