summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/ilo/ilo_render.c2
-rw-r--r--src/gallium/drivers/ilo/ilo_render.h2
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);