aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-09-21 09:02:40 -0700
committerEric Anholt <[email protected]>2011-09-22 11:03:10 -0700
commit57024e084a26ce4b9555979b512945aa557cc37b (patch)
tree5049ae48b262bd3fc1fcc0187d949676284e7e15 /src/mesa
parent03e623a27b95ef228fb4fca71c6d7c7a21630033 (diff)
intel: Remove extra FreeTextureImageBuffer() from glTexImage*.
The core code does this before calling in to us. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex_image.c1
1 files changed, 0 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 fd719e43048..16a0a2492d4 100644
--- a/src/mesa/drivers/dri/intel/intel_tex_image.c
+++ b/src/mesa/drivers/dri/intel/intel_tex_image.c
@@ -414,7 +414,6 @@ intelTexImage(struct gl_context * ctx,
}
}
- ctx->Driver.FreeTextureImageBuffer(ctx, texImage);
assert(!intelImage->mt);
if (intelObj->mt &&