aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_tex_image.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-09-21 15:34:35 -0700
committerEric Anholt <[email protected]>2011-09-26 15:33:42 -0700
commitdb3ada6055814a4bd5aa95fc9505fc101864391d (patch)
tree163e9576d1c25c8eb3169258dea39eac6cb93d42 /src/mesa/drivers/dri/intel/intel_tex_image.c
parentabaebcee787eeb8a89bf7a82ed4d1532fcde5e39 (diff)
intel: Drop the "intel" argument to intel_miptree_release().
We don't have it in the other refcounting functions, and it was totally unused. Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex_image.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex_image.c b/src/mesa/drivers/dri/intel/intel_tex_image.c
index cbc9a49cb10..69da0e25d1f 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -392,7 +392,7 @@ intelTexImage(struct gl_context * ctx,
* before, and any lower levels would fit into our miptree.
*/
if (intelImage->mt) {
- intel_miptree_release(intel, &intelObj->mt);
+ intel_miptree_release(&intelObj->mt);
intel_miptree_reference(&intelObj->mt, intelImage->mt);
}
}