i965: fix ignored qualifiers warning
authorFrancesco Ansanelli <francians@gmail.com>
Sat, 9 Jul 2016 08:16:29 +0000 (10:16 +0200)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Jul 2016 12:50:22 +0000 (05:50 -0700)
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_queryobj.c

index 96db5e95bb142f70036a278481b9de81a7a98d7a..95a5c56ab5050b452722b7ec407d075270bbee80 100644 (file)
@@ -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)