summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2013-02-07 22:19:20 -0800
committerVinson Lee <[email protected]>2013-02-08 18:51:27 -0800
commitdb7612d15dff9f8740c44c3abfbb90e27865489d (patch)
tree43d41eef2da4038bad14235ad8559ba1d865c492 /src
parent85a9a7f09c117cf09d7ab7034ad107365f17d4f2 (diff)
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]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_copy.c2
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 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))