summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-03-02 12:57:56 -0500
committerYounes Manton <younes.m@gmail.com>2009-03-02 13:05:06 -0500
commit2755a27d7dd313617b6bcc48afe6a321ee3609b2 (patch)
treea192ea6f9f7eaafa4ee039ae6f9d8aac0680229b /src/gallium/drivers/nv30
parentc9fe0f7ab5071a5c6ba2ef13fe96e726ec2b512b (diff)
downloadexternal_mesa3d-2755a27d7dd313617b6bcc48afe6a321ee3609b2.zip
external_mesa3d-2755a27d7dd313617b6bcc48afe6a321ee3609b2.tar.gz
external_mesa3d-2755a27d7dd313617b6bcc48afe6a321ee3609b2.tar.bz2
nouveau: Grab correct surface from temp texture for transfers.
Diffstat (limited to 'src/gallium/drivers/nv30')
-rw-r--r--src/gallium/drivers/nv30/nv30_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_transfer.c b/src/gallium/drivers/nv30/nv30_transfer.c
index df4dc4b..6367374 100644
--- a/src/gallium/drivers/nv30/nv30_transfer.c
+++ b/src/gallium/drivers/nv30/nv30_transfer.c
@@ -104,7 +104,7 @@ nv30_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
}
tx->surface = pscreen->get_tex_surface(pscreen, tx_tex,
- face, level, zslice,
+ 0, 0, 0,
nv30_usage_tx_to_buf(usage));
pipe_texture_reference(&tx_tex, NULL);