summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/cayman_msaa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/r600/cayman_msaa.c')
-rw-r--r--src/gallium/drivers/r600/cayman_msaa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/cayman_msaa.c b/src/gallium/drivers/r600/cayman_msaa.c
index e349cdb9e11..9f401642b4a 100644
--- a/src/gallium/drivers/r600/cayman_msaa.c
+++ b/src/gallium/drivers/r600/cayman_msaa.c
@@ -225,7 +225,7 @@ void cayman_emit_msaa_state(struct radeon_cmdbuf *cs, int nr_samples,
if (setup_samples > 1) {
/* indexed by log2(nr_samples) */
- unsigned max_dist[] = {
+ const unsigned max_dist[] = {
0,
eg_max_dist_2x,
eg_max_dist_4x,