intel: Remove extra FreeTextureImageBuffer() from glTexImage*.
authorEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 16:02:40 +0000 (09:02 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 22 Sep 2011 18:03:10 +0000 (11:03 -0700)
The core code does this before calling in to us.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/intel/intel_tex_image.c

index fd719e430480966ba10fc4e7db7ddd16699671e5..16a0a2492d46eaa89a665502a96fc1e888517d93 100644 (file)
@@ -414,7 +414,6 @@ intelTexImage(struct gl_context * ctx,
       }
    }
 
-   ctx->Driver.FreeTextureImageBuffer(ctx, texImage);
    assert(!intelImage->mt);
 
    if (intelObj->mt &&