From: Vinson Lee Date: Fri, 8 Feb 2013 06:19:20 +0000 (-0800) Subject: intel: Ensure variable intel is used in i915 builds. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db7612d15dff9f8740c44c3abfbb90e27865489d;p=mesa.git intel: Ensure variable intel is used in i915 builds. Fixes unused pointer value defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Brian Paul Reviewed-by: Ian Romanick --- diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c b/src/mesa/drivers/dri/intel/intel_tex_copy.c index 5acdb42c3ac..6d90db318d2 100644 --- a/src/mesa/drivers/dri/intel/intel_tex_copy.c +++ b/src/mesa/drivers/dri/intel/intel_tex_copy.c @@ -190,7 +190,7 @@ intelCopyTexSubImage(struct gl_context *ctx, GLuint dims, #endif /* Next, try the BLT engine. */ - if (intel_copy_texsubimage(intel_context(ctx), + if (intel_copy_texsubimage(intel, intel_texture_image(texImage), xoffset, yoffset, intel_renderbuffer(rb), x, y, width, height))