diff options
author | Chia-I Wu <[email protected]> | 2014-09-24 15:18:02 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2014-09-26 21:15:55 +0800 |
commit | a7f2ab668c98226c3bbc370f8e48ca0f02b05009 (patch) | |
tree | e47ab55b0a8bcdb7616785970bd1a728d942aca3 /src/gallium/drivers | |
parent | 23d66a42a387241af6c05f4e8bed2bdef7a727a5 (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')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.c | 2 | ||||
-rw-r--r-- | src/gallium/drivers/ilo/ilo_render.h | 2 |
2 files changed, 2 insertions, 2 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) 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); |