From: Dave Airlie Date: Wed, 1 Sep 2010 03:54:38 +0000 (+1000) Subject: r600g: fix typo causing segfault. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7e2509692d3aa8afb8d2236a4f28b6ab502ec62;p=mesa.git r600g: fix typo causing segfault. fixes warning that r600_blit.c: In function ‘r600_resource_copy_region’: r600_blit.c:136: warning: passing argument 1 of ‘util_resource_copy_region’ from incompatible pointer type and also 7 more piglit tests. --- diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index dbcd6cdea8b..a8263ccbce9 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600_blit.c @@ -132,7 +132,7 @@ static void r600_resource_copy_region(struct pipe_context *ctx, unsigned srcx, unsigned srcy, unsigned srcz, unsigned width, unsigned height) { - util_resource_copy_region(pipe, dst, subdst, dstx, dsty, dstz, + util_resource_copy_region(ctx, dst, subdst, dstx, dsty, dstz, src, subsrc, srcx, srcy, srcz, width, height); }