projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78aaf2a
)
nouveau: Expect right params to tex_transfer_destroy().
author
Younes Manton
<younes.m@gmail.com>
Sat, 27 Jun 2009 15:43:01 +0000
(11:43 -0400)
committer
Younes 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
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/nv40/nv40_transfer.c
b/src/gallium/drivers/nv40/nv40_transfer.c
index ce45055fe82e3c1cb453e71c71f7de0bde347e15..6d92ac3db9caaa8fe26afd9f10f981e33f35c94a 100644
(file)
--- 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;