diff options
-rw-r--r-- | src/mesa/main/dd.h | 2 | ||||
-rw-r--r-- | src/mesa/main/state.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index 8c7549162c4..0df8cfa5b5d 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -64,7 +64,7 @@ struct dd_function_table { * This is in addition to any state change callbacks Mesa may already have * made. */ - void (*UpdateState)( GLcontext *ctx, GLuint new_state ); + void (*UpdateState)( GLcontext *ctx, GLbitfield new_state ); /** * Get the width and height of the named buffer/window. diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 627b24cce0c..9c59ac301f3 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -957,7 +957,7 @@ update_program(GLcontext *ctx) void _mesa_update_state( GLcontext *ctx ) { - GLuint new_state = ctx->NewState; + GLbitfield new_state = ctx->NewState; if (MESA_VERBOSE & VERBOSE_STATE) _mesa_print_state("_mesa_update_state", new_state); |