Mesa (master): nvfx: 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: ebd98b3496d750a6595382e75267361d2b1e47e2
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ebd98b3496d750a6595382e75267361d2b1e47e2

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

nvfx: fix typo from gallium-msaa merge

---

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

diff --git a/src/gallium/drivers/nvfx/nvfx_surface.c b/src/gallium/drivers/nvfx/nvfx_surface.c
index 44e1af2..a605d2b 100644
--- a/src/gallium/drivers/nvfx/nvfx_surface.c
+++ b/src/gallium/drivers/nvfx/nvfx_surface.c
@@ -44,7 +44,7 @@ nvfx_surface_copy(struct pipe_context *pipe,
 	struct nv04_surface_2d *eng2d = nvfx->screen->eng2d;
 	struct pipe_surface *ps_dst, *ps_src;
 
-	ps_src = nvfx_miptree_surface_new(pipe->screen, dest, subsrc.face,
+	ps_src = nvfx_miptree_surface_new(pipe->screen, src, subsrc.face,
 					  subsrc.level, srcz, 0 /* bind flags */);
 	ps_dst = nvfx_miptree_surface_new(pipe->screen, dest, subdst.face,
 					  subdst.level, destz, 0 /* bindflags */);



More information about the mesa-commit mailing list