diff options
author | Daniel Borca <[email protected]> | 2004-01-26 10:38:46 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-01-26 10:38:46 +0000 |
commit | d3682ce37616bb1b33c587263bcb6c4e4eeac313 (patch) | |
tree | e65d1604f39c326b19a63324770d1889c726005c /src/mesa/drivers/glide/fxtexman.c | |
parent | c9d2f4ca474c7ae0fcd6d4a7ea6da671b9a4725f (diff) |
accomodate FetchTexel and fix some memory leak bugs
Diffstat (limited to 'src/mesa/drivers/glide/fxtexman.c')
-rw-r--r-- | src/mesa/drivers/glide/fxtexman.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxtexman.c b/src/mesa/drivers/glide/fxtexman.c index 560a0f4d1be..66f6f443e14 100644 --- a/src/mesa/drivers/glide/fxtexman.c +++ b/src/mesa/drivers/glide/fxtexman.c @@ -773,10 +773,6 @@ fxTMFreeTexture(fxMesaContext fxMesa, struct gl_texture_object *tObj) for (i = 0; i < MAX_TEXTURE_LEVELS; i++) { struct gl_texture_image *texImage = tObj->Image[i]; if (texImage) { - if (texImage->Data) { - MESA_PBUFFER_FREE(texImage->Data); - texImage->Data = NULL; - } if (texImage->DriverData) { FREE(texImage->DriverData); texImage->DriverData = NULL; |