summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-28 16:57:27 -0700
committerJason Ekstrand <[email protected]>2015-09-30 08:35:32 -0700
commita4734b34b3928ca6150b8d93f402da54ed69e6e7 (patch)
tree10c110e8c1842ba33467a41fab11d594a5bbe0e1 /src
parent70e91d61fde239e8ae58148cacd4ff891126e2aa (diff)
i965/copy_image: Fix a copy+past error
Reported-by: Ilia Mirkin <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_copy_image.c2
1 files changed, 1 insertions, 1 deletions
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) {