vc4: Fix a compiler warning.

This commit is contained in:
Eric Anholt
2015-11-09 08:51:47 -08:00
parent fb3da129d1
commit 855a3ca598
+1 -1
View File
@@ -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 {