summaryrefslogtreecommitdiff
path: root/src/mesa/math/m_vector.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-05-06 15:12:01 -0600
committerBrian Paul <brianp@vmware.com>2009-05-07 10:12:33 -0600
commit800b14cd378ed708a29230d92031ac7b6ad6a286 (patch)
treebbcf72f79d857a6aae77faecdf5839ee58e89d04 /src/mesa/math/m_vector.c
parent1f75c2daeae71985ec3b9fd8f1431aa33ae35d1e (diff)
mesa: GLvector4f:: flags is a GLbitfield, update comments too.
Diffstat (limited to 'src/mesa/math/m_vector.c')
-rw-r--r--src/mesa/math/m_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/math/m_vector.c b/src/mesa/math/m_vector.c
index 0636421727..4cbab11a35 100644
--- a/src/mesa/math/m_vector.c
+++ b/src/mesa/math/m_vector.c
@@ -77,7 +77,7 @@ static const GLubyte size_bits[5] = {
* \param storage pointer to storage for the vector's data
*/
void
-_mesa_vector4f_init( GLvector4f *v, GLuint flags, GLfloat (*storage)[4] )
+_mesa_vector4f_init( GLvector4f *v, GLbitfield flags, GLfloat (*storage)[4] )
{
v->stride = 4 * sizeof(GLfloat);
v->size = 2; /* may change: 2-4 for vertices and 1-4 for texcoords */
@@ -96,7 +96,7 @@ _mesa_vector4f_init( GLvector4f *v, GLuint flags, GLfloat (*storage)[4] )
* \param alignment desired memory alignment for the data (in bytes)
*/
void
-_mesa_vector4f_alloc( GLvector4f *v, GLuint flags, GLuint count,
+_mesa_vector4f_alloc( GLvector4f *v, GLbitfield flags, GLuint count,
GLuint alignment )
{
v->stride = 4 * sizeof(GLfloat);