summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_vector.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-05-06 15:12:01 -0600
committerBrian Paul <[email protected]>2009-05-07 10:12:33 -0600
commit800b14cd378ed708a29230d92031ac7b6ad6a286 (patch)
treebbcf72f79d857a6aae77faecdf5839ee58e89d04 /src/mesa/math/m_vector.h
parent1f75c2daeae71985ec3b9fd8f1431aa33ae35d1e (diff)
mesa: GLvector4f:: flags is a GLbitfield, update comments too.
Diffstat (limited to 'src/mesa/math/m_vector.h')
-rw-r--r--src/mesa/math/m_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/math/m_vector.h b/src/mesa/math/m_vector.h
index fcf618a7403..71281d57589 100644
--- a/src/mesa/math/m_vector.h
+++ b/src/mesa/math/m_vector.h
@@ -65,15 +65,15 @@ typedef struct {
GLuint count; /**< size of the vector (in elements) */
GLuint stride; /**< stride from one element to the next (in bytes) */
GLuint size; /**< 2-4 for vertices and 1-4 for texcoords */
- GLuint flags; /**< which columns are dirty */
+ GLbitfield flags; /**< bitmask of VEC_x flags */
void *storage; /**< self-allocated storage */
GLuint storage_count; /**< storage size in elements */
} GLvector4f;
-extern void _mesa_vector4f_init( GLvector4f *v, GLuint flags,
+extern void _mesa_vector4f_init( GLvector4f *v, GLbitfield flags,
GLfloat (*storage)[4] );
-extern void _mesa_vector4f_alloc( GLvector4f *v, GLuint flags,
+extern void _mesa_vector4f_alloc( GLvector4f *v, GLbitfield flags,
GLuint count, GLuint alignment );
extern void _mesa_vector4f_free( GLvector4f *v );
extern void _mesa_vector4f_print( const GLvector4f *v, const GLubyte *, GLboolean );