From f2d71df0cab76b9881a0d2b2749d61e48bdc9483 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 13 Jun 2017 11:52:16 +0100 Subject: softpipe: Match pipe_context::render_condition prototype. To silence compiler warnings. Trivial. --- src/gallium/drivers/softpipe/sp_context.c | 8 ++++---- src/gallium/drivers/softpipe/sp_context.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3