Mesa (master): nv50: fix typo from gallium-msaa merge

Ben Skeggs darktama at kemper.freedesktop.org
Tue Jun 8 18:41:30 PDT 2010


Module: Mesa
Branch: master
Commit: 851ca2f7f9a781cecdba404c6332802ba8c3f5dc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=851ca2f7f9a781cecdba404c6332802ba8c3f5dc

Author: Ben Skeggs <bskeggs at redhat.com>
Date:   Wed Jun  9 11:57:31 2010 +1000

nv50: fix typo from gallium-msaa merge

---

 src/gallium/drivers/nv50/nv50_surface.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c
index d701c7a..3e61203 100644
--- a/src/gallium/drivers/nv50/nv50_surface.c
+++ b/src/gallium/drivers/nv50/nv50_surface.c
@@ -209,7 +209,7 @@ nv50_surface_copy(struct pipe_context *pipe,
 	       (nv50_2d_format_faithful(src->format) &&
 		nv50_2d_format_faithful(dest->format)));
 
-	ps_src = nv50_miptree_surface_new(pipe->screen, dest, subsrc.face,
+	ps_src = nv50_miptree_surface_new(pipe->screen, src, subsrc.face,
 					  subsrc.level, srcz, 0 /* bind flags */);
 	ps_dst = nv50_miptree_surface_new(pipe->screen, dest, subdst.face,
 					  subdst.level, destz, 0 /* bindflags */);



More information about the mesa-commit mailing list