summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2010-06-09 11:58:07 +1000
committerBen Skeggs <[email protected]>2010-06-09 11:59:49 +1000
commitebd98b3496d750a6595382e75267361d2b1e47e2 (patch)
tree403027957891ba0e17e242ce94ae038d7bf66bf7
parent851ca2f7f9a781cecdba404c6332802ba8c3f5dc (diff)
nvfx: fix typo from gallium-msaa merge
-rw-r--r--src/gallium/drivers/nvfx/nvfx_surface.c2
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 44e1af2e6a2..a605d2b7545 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 */);