[Mesa-dev] [PATCH] i965: fix ignored qualifiers warning

Francesco Ansanelli francians at gmail.com
Sat Jul 9 08:16:29 UTC 2016


---
 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



More information about the mesa-dev mailing list