diff options
author | Jose Fonseca <[email protected]> | 2017-06-13 11:52:16 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2017-06-13 11:53:16 +0100 |
commit | f2d71df0cab76b9881a0d2b2749d61e48bdc9483 (patch) | |
tree | a2946508b09bb2594fa5fd0c0b53766ecef8a755 /src/gallium/drivers/softpipe | |
parent | e1d4c966dc7711455c834f7a4101293ae1609d7e (diff) |
softpipe: Match pipe_context::render_condition prototype.
To silence compiler warnings. Trivial.
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.c | 8 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.c b/src/gallium/drivers/softpipe/sp_context.c index a3ebc00016c..48f87e65619 100644 --- a/src/gallium/drivers/softpipe/sp_context.c +++ b/src/gallium/drivers/softpipe/sp_context.c @@ -178,10 +178,10 @@ softpipe_is_resource_referenced( struct pipe_context *pipe, static void -softpipe_render_condition( struct pipe_context *pipe, - struct pipe_query *query, - boolean condition, - uint mode ) +softpipe_render_condition(struct pipe_context *pipe, + struct pipe_query *query, + boolean condition, + enum pipe_render_cond_flag mode) { struct softpipe_context *softpipe = softpipe_context( pipe ); diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index 7ce4dc3560d..80aa978ddf2 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -152,7 +152,7 @@ struct softpipe_context { /** Conditional query object and mode */ struct pipe_query *render_cond_query; - uint render_cond_mode; + enum pipe_render_cond_flag render_cond_mode; boolean render_cond_cond; /** Polygon stipple items */ |