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