summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_render.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-24 15:18:02 +0800
committerChia-I Wu <[email protected]>2014-09-26 21:15:55 +0800
commita7f2ab668c98226c3bbc370f8e48ca0f02b05009 (patch)
treee47ab55b0a8bcdb7616785970bd1a728d942aca3 /src/gallium/drivers/ilo/ilo_render.c
parent23d66a42a387241af6c05f4e8bed2bdef7a727a5 (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_render.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/ilo/ilo_render.c b/src/gallium/drivers/ilo/ilo_render.c
index 7248ed7dfb0..4b85f8cbeb3 100644
--- a/src/gallium/drivers/ilo/ilo_render.c
+++ b/src/gallium/drivers/ilo/ilo_render.c
@@ -130,7 +130,7 @@ ilo_render_destroy(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)