summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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;
}