summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_transfer.c
diff options
context:
space:
mode:
authorYounes Manton <younes.m@gmail.com>2009-06-27 11:43:01 -0400
committerYounes Manton <younes.m@gmail.com>2009-06-29 22:22:25 -0400
commit0eb1b3fac1e9ef738d121364968ab09540c360f7 (patch)
tree171abdb7b246fbb9cb8fe912f715517c163ab32d /src/gallium/drivers/nv40/nv40_transfer.c
parent78aaf2a4f16bafd8f3880e63982dea7219125ff0 (diff)
nouveau: Expect right params to tex_transfer_destroy().
Never crashed on x86, ptx is in the same stack slot in either case. Thanks to Bob Gleitsmann for catching this.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_transfer.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_transfer.c b/src/gallium/drivers/nv40/nv40_transfer.c
index ce45055fe8..6d92ac3db9 100644
--- a/src/gallium/drivers/nv40/nv40_transfer.c
+++ b/src/gallium/drivers/nv40/nv40_transfer.c
@@ -136,7 +136,7 @@ nv40_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
}
static void
-nv40_transfer_del(struct pipe_screen *pscreen, struct pipe_transfer *ptx)
+nv40_transfer_del(struct pipe_transfer *ptx)
{
struct nv40_transfer *tx = (struct nv40_transfer *)ptx;