diff options
author | Christoph Bumiller <[email protected]> | 2011-08-26 22:59:19 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-09-14 16:19:51 +0200 |
commit | 150bb0fb34b74055c7dd6d2925ce9c5a1d7decf5 (patch) | |
tree | 3c9032e6abcd37de542ded4da1be8ccc32029541 /src/gallium/drivers/nv50 | |
parent | ec22b75be1c57f991f48bf6cc1d4b910911e8bf2 (diff) |
nouveau: make data argument of nouveau_context::push_data const
Diffstat (limited to 'src/gallium/drivers/nv50')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/nv50/nv50_transfer.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index 384ca8fb4bc..77dbc823c7a 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -198,7 +198,7 @@ nv50_m2mf_transfer_rect(struct pipe_screen *pscreen, void nv50_sifc_linear_u8(struct nouveau_context *pipe, struct nouveau_bo *dst, unsigned offset, unsigned domain, - unsigned size, void *data); + unsigned size, const void *data); void nv50_m2mf_copy_linear(struct nouveau_context *pipe, struct nouveau_bo *dst, unsigned dstoff, unsigned dstdom, diff --git a/src/gallium/drivers/nv50/nv50_transfer.c b/src/gallium/drivers/nv50/nv50_transfer.c index 0ff79eb908a..c86c417c071 100644 --- a/src/gallium/drivers/nv50/nv50_transfer.c +++ b/src/gallium/drivers/nv50/nv50_transfer.c @@ -140,7 +140,7 @@ nv50_m2mf_transfer_rect(struct pipe_screen *pscreen, void nv50_sifc_linear_u8(struct nouveau_context *nv, struct nouveau_bo *dst, unsigned offset, unsigned domain, - unsigned size, void *data) + unsigned size, const void *data) { struct nouveau_channel *chan = nv->screen->channel; uint32_t *src = (uint32_t *)data; |