Module: Mesa
Branch: master
Commit: 855a3ca598734273f53c5e316f1d825aea3dd6da
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=855a3ca598734273f53c5e316f1d825aea3dd6da

Author: Eric Anholt <[email protected]>
Date:   Mon Nov  9 08:51:47 2015 -0800

vc4: Fix a compiler warning.

---

 src/gallium/drivers/vc4/vc4_resource.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 {

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to