diff options
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/radeon/r600_buffer_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/r600_buffer_common.c b/src/gallium/drivers/radeon/r600_buffer_common.c index a7ecfb3e440..d56a6441eae 100644 --- a/src/gallium/drivers/radeon/r600_buffer_common.c +++ b/src/gallium/drivers/radeon/r600_buffer_common.c @@ -285,7 +285,7 @@ static void *r600_buffer_transfer_map(struct pipe_context *ctx, /* Copy the VRAM buffer to the staging buffer. */ rctx->dma_copy(ctx, &staging->b.b, 0, - box->x % R600_MAP_BUFFER_ALIGNMENT, + offset + box->x % R600_MAP_BUFFER_ALIGNMENT, 0, 0, resource, level, box); /* Just do the synchronization. The buffer is mapped already. */ |