On 02/07/2013 10:58 PM, Vinson Lee wrote:
Fixes unused pointer value defect reported by Coverity.
Signed-off-by: Vinson Lee <v...@freedesktop.org>
Reviewed-by: Ian Romanick <ian.d.roman...@intel.com>
---
src/mesa/drivers/dri/intel/intel_tex_copy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/intel/intel_tex_copy.c
b/src/mesa/drivers/dri/intel/intel_tex_copy.c
index 5acdb42..6d90db3 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))
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev