diff options
author | Tilman Sauerbeck <[email protected]> | 2006-11-26 09:39:21 +0000 |
---|---|---|
committer | Tilman Sauerbeck <[email protected]> | 2006-11-26 09:39:21 +0000 |
commit | 85365e6aa4608ea684ff770def7f0f7b354173df (patch) | |
tree | facf42bafbde97f9a3f0d37b1d808b26c1616513 /src/mesa/drivers/dri | |
parent | 16e7ca9d72f7d1c24a12014ac482948e17be8d3f (diff) |
Bug #6044: actually delete the texture object in mgaDeleteTexture
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/mga/mgatex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/mga/mgatex.c b/src/mesa/drivers/dri/mga/mgatex.c index 8caa1f8580f..a7d74317a5b 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); } |