nvfx: fix typo from gallium-msaa merge
authorBen Skeggs <bskeggs@redhat.com>
Wed, 9 Jun 2010 01:58:07 +0000 (11:58 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Wed, 9 Jun 2010 01:59:49 +0000 (11:59 +1000)
src/gallium/drivers/nvfx/nvfx_surface.c

index 44e1af2e6a2371d37a6efe16dcce1ecd1a82e3e3..a605d2b7545fcd42c36bc3e22790f518e5eb3055 100644 (file)
@@ -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 */);