projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3da12
)
vc4: Fix a compiler warning.
author
Eric Anholt
<eric@anholt.net>
Mon, 9 Nov 2015 16:51:47 +0000
(08:51 -0800)
committer
Eric Anholt
<eric@anholt.net>
Tue, 10 Nov 2015 03:17:36 +0000
(19:17 -0800)
src/gallium/drivers/vc4/vc4_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc4/vc4_resource.c
b/src/gallium/drivers/vc4/vc4_resource.c
index 122bda0bac6ce2442fad27fb916458270fa06aec..146929637ec997752dd4768967d147c78a2a503c 100644
(file)
--- 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 {