From: Younes Manton Date: Sat, 27 Jun 2009 15:43:01 +0000 (-0400) Subject: nouveau: Expect right params to tex_transfer_destroy(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0eb1b3fac1e9ef738d121364968ab09540c360f7;p=mesa.git 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. --- diff --git a/src/gallium/drivers/nv40/nv40_transfer.c b/src/gallium/drivers/nv40/nv40_transfer.c index ce45055fe82..6d92ac3db9c 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;