[Mesa-dev] [PATCH] i965/copy_image: Fix a copy+past error
Jason Ekstrand
jason at jlekstrand.net
Mon Sep 28 17:39:54 PDT 2015
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) {
--
2.5.0.400.gff86faf
More information about the mesa-dev
mailing list