more GLuint->GLbitfield changes
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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:
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user