From: Eric Anholt Date: Wed, 21 Sep 2011 16:02:40 +0000 (-0700) Subject: intel: Remove extra FreeTextureImageBuffer() from glTexImage*. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=57024e084a26ce4b9555979b512945aa557cc37b;p=mesa.git intel: Remove extra FreeTextureImageBuffer() from glTexImage*. The core code does this before calling in to us. Reviewed-by: Kenneth Graunke Reviewed-by: Ian Romanick --- 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 &&