diff options
Diffstat (limited to 'src/gallium/drivers/v3d')
-rw-r--r-- | src/gallium/drivers/v3d/v3d_resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/v3d/v3d_resource.c b/src/gallium/drivers/v3d/v3d_resource.c index cd49c1af52b..74d49b4d810 100644 --- a/src/gallium/drivers/v3d/v3d_resource.c +++ b/src/gallium/drivers/v3d/v3d_resource.c @@ -281,7 +281,7 @@ v3d_resource_transfer_map(struct pipe_context *pctx, return trans->map; } else { ptrans->stride = slice->stride; - ptrans->layer_stride = ptrans->stride; + ptrans->layer_stride = rsc->cube_map_stride; return buf + slice->offset + ptrans->box.y * ptrans->stride + |