summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-11-09 08:51:47 -0800
committerEric Anholt <eric@anholt.net>2015-11-09 19:17:36 -0800
commit855a3ca598734273f53c5e316f1d825aea3dd6da (patch)
tree1e5ef6b0cd7cbe3cf495afb11bc951b058e32d7e
parentfb3da129d1086df21122f032dd64d4b1c480cb70 (diff)
downloadexternal_mesa3d-855a3ca598734273f53c5e316f1d825aea3dd6da.zip
external_mesa3d-855a3ca598734273f53c5e316f1d825aea3dd6da.tar.gz
external_mesa3d-855a3ca598734273f53c5e316f1d825aea3dd6da.tar.bz2
vc4: Fix a compiler warning.
-rw-r--r--src/gallium/drivers/vc4/vc4_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_resource.c b/src/gallium/drivers/vc4/vc4_resource.c
index 122bda0..1469296 100644
--- a/src/gallium/drivers/vc4/vc4_resource.c
+++ b/src/gallium/drivers/vc4/vc4_resource.c
@@ -668,7 +668,7 @@ vc4_get_shadow_index_buffer(struct pipe_context *pctx,
uint16_t *dst = data;
struct pipe_transfer *src_transfer = NULL;
- uint32_t *src;
+ const uint32_t *src;
if (ib->user_buffer) {
src = ib->user_buffer;
} else {