From: Jose Fonseca Date: Tue, 13 Jun 2017 10:52:16 +0000 (+0100) Subject: softpipe: Match pipe_context::render_condition prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f2d71df0cab76b9881a0d2b2749d61e48bdc9483;p=mesa.git softpipe: Match pipe_context::render_condition prototype. To silence compiler warnings. Trivial. --- 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 */