more GLuint->GLbitfield changes
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 01:41:03 +0000 (01:41 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 16 Sep 2005 01:41:03 +0000 (01:41 +0000)
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h
src/mesa/swrast/swrast.h

index 0b38fb3..2b39ffc 100644 (file)
@@ -403,14 +403,14 @@ _swrast_validate_texture_sample( GLcontext *ctx, GLuint texUnit,
 
 
 static void
-_swrast_sleep( GLcontext *ctx, GLuint new_state )
+_swrast_sleep( GLcontext *ctx, GLbitfield new_state )
 {
    (void) ctx; (void) new_state;
 }
 
 
 static void
-_swrast_invalidate_state( GLcontext *ctx, GLuint new_state )
+_swrast_invalidate_state( GLcontext *ctx, GLbitfield new_state )
 {
    SWcontext *swrast = SWRAST_CONTEXT(ctx);
    GLuint i;
@@ -529,7 +529,7 @@ _swrast_Point( GLcontext *ctx, const SWvertex *v0 )
 }
 
 void
-_swrast_InvalidateState( GLcontext *ctx, GLuint new_state )
+_swrast_InvalidateState( GLcontext *ctx, GLbitfield new_state )
 {
    if (SWRAST_DEBUG) {
       _mesa_debug(ctx, "_swrast_InvalidateState\n");
index d08636c..e4c48fa 100644 (file)
@@ -308,9 +308,9 @@ typedef struct
    void (*choose_line)( GLcontext * );
    void (*choose_triangle)( GLcontext * );
 
-   GLuint invalidate_point;
-   GLuint invalidate_line;
-   GLuint invalidate_triangle;
+   GLbitfield invalidate_point;
+   GLbitfield invalidate_line;
+   GLbitfield invalidate_triangle;
    /*@}*/
 
    /** Function pointers for dispatch behind public entrypoints. */
@@ -345,7 +345,7 @@ typedef struct
     */
    struct sw_span PointSpan;
 
-   /** Internal hooks, kept uptodate by the same mechanism as above.
+   /** Internal hooks, kept up to date by the same mechanism as above.
     */
    blend_func BlendFunc;
    texture_sample_func TextureSample[MAX_TEXTURE_IMAGE_UNITS];
index 0bf9191..9e63db0 100644 (file)
@@ -173,7 +173,7 @@ _swrast_render_finish( GLcontext *ctx );
 /* Tell the software rasterizer about core state changes.
  */
 extern void
-_swrast_InvalidateState( GLcontext *ctx, GLuint new_state );
+_swrast_InvalidateState( GLcontext *ctx, GLbitfield new_state );
 
 /* Configure software rasterizer to match hardware rasterizer characteristics:
  */