Module: Mesa
Branch: master
Commit: db7612d15dff9f8740c44c3abfbb90e27865489d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=db7612d15dff9f8740c44c3abfbb90e27865489d

Author: Vinson Lee <[email protected]>
Date:   Thu Feb  7 22:19:20 2013 -0800

intel: Ensure variable intel is used in i915 builds.

Fixes unused pointer value defect reported by Coverity.

Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>

---

 src/mesa/drivers/dri/intel/intel_tex_copy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to