From: Francesco Ansanelli Date: Sat, 9 Jul 2016 08:16:29 +0000 (+0200) Subject: i965: fix ignored qualifiers warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c446291422873722e358a943081c3940a2e98c5;p=mesa.git i965: fix ignored qualifiers warning Reviewed-by: Eric Engestrom Reviewed-by: Kenneth Graunke --- 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)