summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2017-06-13 11:52:08 +0100
committerJose Fonseca <[email protected]>2017-06-13 11:53:07 +0100
commite1d4c966dc7711455c834f7a4101293ae1609d7e (patch)
tree6480e07383d2cd844dd6a03abd1c046fd9a2d200 /src/gallium/drivers
parent6d8a387f78cdeedc8c404a1b4c116a19023f2e19 (diff)
llvmpipe: Match pipe_context::render_condition prototype.
To silence compiler warnings. Trivial.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.c8
-rw-r--r--src/gallium/drivers/llvmpipe/lp_context.h2
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 */