aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-01-06 16:11:36 +0100
committerChristoph Bumiller <[email protected]>2011-01-08 02:12:56 +0100
commitf5f086ca92ad7847d6b49ce91c601b66a34a68a8 (patch)
tree4cb9dd15eed9a3060120e5fd4aa30dd494af7268
parentbd301dfc12be76b155d9b2b65c4e4f142ab94320 (diff)
nvc0: reset mt transfer address after read loop over layers
-rw-r--r--src/gallium/drivers/nvc0/nvc0_transfer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_transfer.c b/src/gallium/drivers/nvc0/nvc0_transfer.c
index 82755113008..286b382f58e 100644
--- a/src/gallium/drivers/nvc0/nvc0_transfer.c
+++ b/src/gallium/drivers/nvc0/nvc0_transfer.c
@@ -316,6 +316,7 @@ nvc0_miptree_transfer_new(struct pipe_context *pctx,
}
}
tx->rect[0].z = z;
+ tx->rect[1].base = 0;
return &tx->base;
}