[Mesa-dev] [PATCH] i965: fix ignored qualifiers warning
Eric Engestrom
eric.engestrom at imgtec.com
Mon Jul 11 11:40:33 UTC 2016
On Sat, Jul 09, 2016 at 10:16:29AM +0200, Francesco Ansanelli wrote:
> ---
> 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 96db5e9..95a5c56 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)
> --
> 1.7.9.5
Reviewed-by: Eric Engestrom <eric.engestrom at imgtec.com>
More information about the mesa-dev
mailing list