nouveau: Expect right params to tex_transfer_destroy().
authorYounes Manton <younes.m@gmail.com>
Sat, 27 Jun 2009 15:43:01 +0000 (11:43 -0400)
committerYounes Manton <younes.m@gmail.com>
Tue, 30 Jun 2009 02:22:25 +0000 (22:22 -0400)
Never crashed on x86, ptx is in the same stack slot in either case.
Thanks to Bob Gleitsmann for catching this.

src/gallium/drivers/nv40/nv40_transfer.c

index ce45055fe82e3c1cb453e71c71f7de0bde347e15..6d92ac3db9caaa8fe26afd9f10f981e33f35c94a 100644 (file)
@@ -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;