From: Jason Ekstrand Date: Mon, 28 Sep 2015 23:57:27 +0000 (-0700) Subject: i965/copy_image: Fix a copy+past error X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a4734b34b3928ca6150b8d93f402da54ed69e6e7;p=mesa.git i965/copy_image: Fix a copy+past error Reported-by: Ilia Mirkin Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/i965/intel_copy_image.c b/src/mesa/drivers/dri/i965/intel_copy_image.c index d57651cef5f..0a3337ee285 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) {