vbo: s/GLuint/GLbitfield/ for state bitmasks

Reviewed-by: José Fonseca <jfonseca@vmware.com>
This commit is contained in:
Brian Paul
2016-01-06 08:38:03 -07:00
parent 3c0521cd0f
commit c81ddc2092
4 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@ struct _mesa_index_buffer {
GLboolean _vbo_CreateContext( struct gl_context *ctx );
void _vbo_DestroyContext( struct gl_context *ctx );
void _vbo_InvalidateState( struct gl_context *ctx, GLuint new_state );
void _vbo_InvalidateState( struct gl_context *ctx, GLbitfield new_state );
void

View File

@@ -186,7 +186,7 @@ GLboolean _vbo_CreateContext( struct gl_context *ctx )
}
void _vbo_InvalidateState( struct gl_context *ctx, GLuint new_state )
void _vbo_InvalidateState( struct gl_context *ctx, GLbitfield new_state )
{
vbo_exec_invalidate_state(ctx, new_state);
}

View File

@@ -73,7 +73,7 @@ void vbo_exec_destroy( struct gl_context *ctx )
* invoked according to the state flags. That will have to wait for a
* mesa rework:
*/
void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state )
void vbo_exec_invalidate_state( struct gl_context *ctx, GLbitfield new_state )
{
struct vbo_context *vbo = vbo_context(ctx);
struct vbo_exec_context *exec = &vbo->exec;

View File

@@ -146,7 +146,7 @@ struct vbo_exec_context
*/
void vbo_exec_init( struct gl_context *ctx );
void vbo_exec_destroy( struct gl_context *ctx );
void vbo_exec_invalidate_state( struct gl_context *ctx, GLuint new_state );
void vbo_exec_invalidate_state( struct gl_context *ctx, GLbitfield new_state );
/* Internal functions: