summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2010-06-09 11:57:31 +1000
committerBen Skeggs <[email protected]>2010-06-09 11:59:01 +1000
commit851ca2f7f9a781cecdba404c6332802ba8c3f5dc (patch)
tree969c22502b1a5121e5177e6932adeb439562f656 /src/gallium/drivers
parent7bf678f7ec86c152e22639b47cf038f94912fbc8 (diff)
nv50: fix typo from gallium-msaa merge
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/nv50/nv50_surface.c2
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 d701c7a75a2..3e61203adff 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 */);