summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv04/nv04_transfer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/nv04/nv04_transfer.c')
-rw-r--r--src/gallium/drivers/nv04/nv04_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv04/nv04_transfer.c b/src/gallium/drivers/nv04/nv04_transfer.c
index 314d2045f76..573b043f5b6 100644
--- a/src/gallium/drivers/nv04/nv04_transfer.c
+++ b/src/gallium/drivers/nv04/nv04_transfer.c
@@ -87,7 +87,7 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
{
tx->direct = true;
tx->surface = pscreen->get_tex_surface(pscreen, pt,
- face, level, zslice,
+ 0, 0, 0,
nv04_usage_tx_to_buf(usage));
return &tx->base;
}