From a7f2ab668c98226c3bbc370f8e48ca0f02b05009 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 24 Sep 2014 15:18:02 +0800 Subject: ilo: constify ilo_render in ilo_render_get_sample_position() It is a getter and is not supposed to modify ilo_render. Signed-off-by: Chia-I Wu --- src/gallium/drivers/ilo/ilo_render.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/ilo/ilo_render.h') diff --git a/src/gallium/drivers/ilo/ilo_render.h b/src/gallium/drivers/ilo/ilo_render.h index 4c06b766eb2..a5f1c1b80cd 100644 --- a/src/gallium/drivers/ilo/ilo_render.h +++ b/src/gallium/drivers/ilo/ilo_render.h @@ -209,7 +209,7 @@ ilo_render_emit_rectlist(struct ilo_render *render, } void -ilo_render_get_sample_position(struct ilo_render *render, +ilo_render_get_sample_position(const struct ilo_render *render, unsigned sample_count, unsigned sample_index, float *x, float *y); -- cgit v1.2.3