i965/copy_image: Fix a copy+past error
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 28 Sep 2015 23:57:27 +0000 (16:57 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 30 Sep 2015 15:35:32 +0000 (08:35 -0700)
Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/intel_copy_image.c

index d57651cef5f5a72548ff53bb4cc17b7a5a494201..0a3337ee2856c6ba43b2a427d5050ace63b1bfba 100644 (file)
@@ -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) {