From: Ben Skeggs Date: Wed, 9 Jun 2010 01:58:07 +0000 (+1000) Subject: nvfx: fix typo from gallium-msaa merge X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ebd98b3496d750a6595382e75267361d2b1e47e2;p=mesa.git nvfx: fix typo from gallium-msaa merge --- 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 */);