[Mesa-dev] [PATCH] i965/copy_image: Fix a copy+past error

Kenneth Graunke kenneth at whitecape.org
Tue Sep 29 22:03:59 PDT 2015


On Monday, September 28, 2015 05:39:54 PM Jason Ekstrand wrote:
> Reported-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
>  src/mesa/drivers/dri/i965/intel_copy_image.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/intel_copy_image.c b/src/mesa/drivers/dri/i965/intel_copy_image.c
> index d57651c..0a3337e 100644
> --- a/src/mesa/drivers/dri/i965/intel_copy_image.c
> +++ b/src/mesa/drivers/dri/i965/intel_copy_image.c
> @@ -235,7 +235,7 @@ intel_copy_image_sub_data(struct gl_context *ctx,
>     } else {
>        assert(dst_renderbuffer);
>        dst_mt = intel_renderbuffer(dst_renderbuffer)->mt;
> -      src_image = src_renderbuffer->TexImage;
> +      dst_image = dst_renderbuffer->TexImage;
>     }
>  
>     if (src_mt->num_samples > 0 || dst_mt->num_samples > 0) {
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150929/6b202c81/attachment.sig>


More information about the mesa-dev mailing list