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

src/gallium/drivers/softpipe/sp_context.c
src/gallium/drivers/softpipe/sp_context.h

index a3ebc00016cda106d2c238d4388fbdcbb7019bb8..48f87e6561940a9475725e3b405c301f35a9835b 100644 (file)
@@ -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 );
 
index 7ce4dc3560dc17621360457537a0cc9a279d7287..80aa978ddf2dd0b7c26df3b2181686865961e977 100644 (file)
@@ -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 */