summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrancesco Ansanelli <[email protected]>2016-07-09 10:16:29 +0200
committerKenneth Graunke <[email protected]>2016-07-11 05:50:22 -0700
commit3c446291422873722e358a943081c3940a2e98c5 (patch)
tree6d3d3ac73b5c780eeb931fd9bd43e3d60e5f1c87 /src
parent374aa2bb27efbd5e20daee09b6aea2a86b4775cd (diff)
i965: fix ignored qualifiers warning
Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_queryobj.c2
1 files changed, 1 insertions, 1 deletions
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)