diff options
author | Brian Paul <[email protected]> | 2016-06-22 17:19:58 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-06-23 13:02:28 -0600 |
commit | fe762128732df1fafef862a391b4d04ee0467c55 (patch) | |
tree | 1ab23f9eed82bdcaf91e0d5d52cd67d3530cc0ca | |
parent | e82fa96d196ca141e1fd6c215b43219695931684 (diff) |
svga: add a const qualifier in svga_buffer_upload_piecewise()
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_resource_buffer_upload.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/svga/svga_resource_buffer_upload.c b/src/gallium/drivers/svga/svga_resource_buffer_upload.c index a89225ded83..87d77c5f317 100644 --- a/src/gallium/drivers/svga/svga_resource_buffer_upload.c +++ b/src/gallium/drivers/svga/svga_resource_buffer_upload.c @@ -689,7 +689,7 @@ svga_buffer_upload_piecewise(struct svga_screen *ss, SVGA_DBG(DEBUG_DMA, "dma to sid %p\n", sbuf->handle); for (i = 0; i < sbuf->map.num_ranges; ++i) { - struct svga_buffer_range *range = &sbuf->map.ranges[i]; + const struct svga_buffer_range *range = &sbuf->map.ranges[i]; unsigned offset = range->start; unsigned size = range->end - range->start; |