From: Jose Fonseca Date: Tue, 13 Jun 2017 10:52:08 +0000 (+0100) Subject: llvmpipe: Match pipe_context::render_condition prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e1d4c966dc7711455c834f7a4101293ae1609d7e;p=mesa.git llvmpipe: Match pipe_context::render_condition prototype. To silence compiler warnings. Trivial. --- diff --git a/src/gallium/drivers/llvmpipe/lp_context.c b/src/gallium/drivers/llvmpipe/lp_context.c index c18e72c49f2..599a9f1573a 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.c +++ b/src/gallium/drivers/llvmpipe/lp_context.c @@ -119,10 +119,10 @@ do_flush( struct pipe_context *pipe, static void -llvmpipe_render_condition ( struct pipe_context *pipe, - struct pipe_query *query, - boolean condition, - uint mode ) +llvmpipe_render_condition(struct pipe_context *pipe, + struct pipe_query *query, + boolean condition, + enum pipe_render_cond_flag mode) { struct llvmpipe_context *llvmpipe = llvmpipe_context( pipe ); diff --git a/src/gallium/drivers/llvmpipe/lp_context.h b/src/gallium/drivers/llvmpipe/lp_context.h index 6f1c7d929eb..54d98fdbf7d 100644 --- a/src/gallium/drivers/llvmpipe/lp_context.h +++ b/src/gallium/drivers/llvmpipe/lp_context.h @@ -148,7 +148,7 @@ struct llvmpipe_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; /** The LLVMContext to use for LLVM related work */