From e1d4c966dc7711455c834f7a4101293ae1609d7e Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 13 Jun 2017 11:52:08 +0100 Subject: [PATCH] llvmpipe: Match pipe_context::render_condition prototype. To silence compiler warnings. Trivial. --- src/gallium/drivers/llvmpipe/lp_context.c | 8 ++++---- src/gallium/drivers/llvmpipe/lp_context.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 */ -- 2.30.2