s/GLuint/GLbitfield/
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 9 Jan 2006 17:57:47 +0000 (17:57 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 9 Jan 2006 17:57:47 +0000 (17:57 +0000)
src/mesa/main/dd.h
src/mesa/main/state.c

index 8c75491..0df8cfa 100644 (file)
@@ -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.
index 627b24c..9c59ac3 100644 (file)
@@ -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);