[Mesa-dev] [PATCH 1/7] intel: Remove extra FreeTextureImageBuffer() from glTexImage*.

Eric Anholt eric at anholt.net
Wed Sep 21 10:15:43 PDT 2011


The core code does this before calling in to us.
---
 src/mesa/drivers/dri/intel/intel_tex_image.c |    1 -
 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 fd719e4..16a0a24 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 &&
-- 
1.7.5.4



More information about the mesa-dev mailing list