From 3c446291422873722e358a943081c3940a2e98c5 Mon Sep 17 00:00:00 2001 From: Francesco Ansanelli Date: Sat, 9 Jul 2016 10:16:29 +0200 Subject: [PATCH] i965: fix ignored qualifiers warning Reviewed-by: Eric Engestrom Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen6_queryobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/gen6_queryobj.c b/src/mesa/drivers/dri/i965/gen6_queryobj.c index 96db5e95bb1..95a5c56ab50 100644 --- a/src/mesa/drivers/dri/i965/gen6_queryobj.c +++ b/src/mesa/drivers/dri/i965/gen6_queryobj.c @@ -99,7 +99,7 @@ write_xfb_primitives_written(struct brw_context *brw, } } -static inline const int +static inline int pipeline_target_to_index(int target) { if (target == GL_GEOMETRY_SHADER_INVOCATIONS) -- 2.30.2