From 85365e6aa4608ea684ff770def7f0f7b354173df Mon Sep 17 00:00:00 2001 From: Tilman Sauerbeck Date: Sun, 26 Nov 2006 09:39:21 +0000 Subject: Bug #6044: actually delete the texture object in mgaDeleteTexture --- src/mesa/drivers/dri/mga/mgatex.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/mesa/drivers/dri/mga') diff --git a/src/mesa/drivers/dri/mga/mgatex.c b/src/mesa/drivers/dri/mga/mgatex.c index 8caa1f8580..a7d74317a5 100644 --- a/src/mesa/drivers/dri/mga/mgatex.c +++ b/src/mesa/drivers/dri/mga/mgatex.c @@ -502,6 +502,9 @@ mgaDeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj ) driDestroyTextureObject( t ); } + + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, tObj); } -- cgit v1.2.3