diff options
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_texture.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 972c7ae7c3..61210de890 100644 --- a/src/gallium/drivers/llvmpipe/lp_texture.c +++ b/src/gallium/drivers/llvmpipe/lp_texture.c @@ -357,6 +357,7 @@ llvmpipe_get_transfer(struct pipe_context *pipe, struct pipe_transfer *pt = &lpt->base; pipe_resource_reference(&pt->resource, resource); pt->box = *box; + pt->sr = sr; pt->stride = lptex->stride[sr.level]; pt->usage = usage; |