nv50: fix typo from gallium-msaa merge
authorBen Skeggs <bskeggs@redhat.com>
Wed, 9 Jun 2010 01:57:31 +0000 (11:57 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Jun 2010 01:59:01 +0000 (11:59 +1000)
src/gallium/drivers/nv50/nv50_surface.c

index d701c7a75a2ce4f1b4d49fcde6610a047d9ea72a..3e61203adff9227b621271cb536f73faba714413 100644 (file)
@@ -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 */);