llvmpipe: Match pipe_context::render_condition prototype.
authorJose Fonseca <jfonseca@vmware.com>
Tue, 13 Jun 2017 10:52:08 +0000 (11:52 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 13 Jun 2017 10:53:07 +0000 (11:53 +0100)
To silence compiler warnings.  Trivial.

src/gallium/drivers/llvmpipe/lp_context.c
src/gallium/drivers/llvmpipe/lp_context.h

index c18e72c49f2f7fe91ccdff8a091849f11a8c1911..599a9f1573afba25bc2f360cba5f6ba49de551b2 100644 (file)
@@ -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 );
 
index 6f1c7d929eb9e15ffa4462fe554c0228ca4e6080..54d98fdbf7d96861af6e85668324c0828fdc0657 100644 (file)
@@ -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 */