diff options
Diffstat (limited to 'src/gallium/drivers/r600')
-rw-r--r-- | src/gallium/drivers/r600/r600_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_buffer.c b/src/gallium/drivers/r600/r600_buffer.c index d8188ae656..06197d3d7d 100644 --- a/src/gallium/drivers/r600/r600_buffer.c +++ b/src/gallium/drivers/r600/r600_buffer.c @@ -156,7 +156,7 @@ static void *r600_buffer_transfer_map(struct pipe_context *pipe, int write = 0; if (rbuffer->pb) { - return (uint8_t*)pb_map(rbuffer->pb, transfer->usage) + transfer->box.x; + return (uint8_t*)pb_map(rbuffer->pb, transfer->usage, NULL) + transfer->box.x; } if (transfer->usage & PIPE_TRANSFER_DONTBLOCK) { /* FIXME */ |