diff options
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_buffer.c b/src/gallium/drivers/nouveau/nouveau_buffer.c index f16345d540e..fb929d68231 100644 --- a/src/gallium/drivers/nouveau/nouveau_buffer.c +++ b/src/gallium/drivers/nouveau/nouveau_buffer.c @@ -210,7 +210,7 @@ nouveau_buffer_transfer_map(struct pipe_context *pipe, struct nouveau_bo *bo = buf->bo; uint8_t *map; int ret; - uint32_t offset = xfr->base.box.x; + uint32_t offset = box->x; uint32_t flags = 0; if (!xfr) |