From c81f049794625c6907c884fdb03de8dd1555b11e Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 12 Apr 2010 01:47:28 +0200 Subject: llvmpipe: Fix transfers after resource change --- src/gallium/drivers/llvmpipe/lp_texture.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 972c7ae7c30..61210de8901 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; -- cgit v1.2.3