--- tests/util/piglit-util-gl.c | 2 +- tests/util/piglit-util-gl.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/util/piglit-util-gl.c b/tests/util/piglit-util-gl.c index 041427d..43b38e5 100644 --- a/tests/util/piglit-util-gl.c +++ b/tests/util/piglit-util-gl.c @@ -2967,7 +2967,7 @@ GLuint piglit_multisample_texture(GLenum target, GLuint tex, GLenum internalFormat, unsigned width, unsigned height, unsigned depth, unsigned samples, - GLenum format, GLenum type, void *data) + GLenum format, GLenum type, const void *data) { static GLuint prog = 0; static GLint tex_loc, tex_depth_loc, z_loc; diff --git a/tests/util/piglit-util-gl.h b/tests/util/piglit-util-gl.h index 00b5a35..e8728d0 100644 --- a/tests/util/piglit-util-gl.h +++ b/tests/util/piglit-util-gl.h @@ -308,7 +308,7 @@ GLuint piglit_multisample_texture(GLenum target, GLuint tex, GLenum internalFormat, unsigned width, unsigned height, unsigned depth, unsigned samples, - GLenum format, GLenum type, void *data); + GLenum format, GLenum type, const void *data); extern float piglit_tolerance[4]; void piglit_set_tolerance_for_bits(int rbits, int gbits, int bbits, int abits); extern void piglit_require_transform_feedback(void); -- 1.9.1 _______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/piglit