projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16e7ca9
)
Bug #6044: actually delete the texture object in mgaDeleteTexture
author
Tilman Sauerbeck
<tilman@freedesktop.org>
Sun, 26 Nov 2006 09:39:21 +0000
(09:39 +0000)
committer
Tilman Sauerbeck
<tilman@freedesktop.org>
Sun, 26 Nov 2006 09:39:21 +0000
(09:39 +0000)
src/mesa/drivers/dri/mga/mgatex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/mga/mgatex.c
b/src/mesa/drivers/dri/mga/mgatex.c
index 8caa1f8580f2f801e7924537b5a97835df9b2f3a..a7d74317a5b7a9bd277d4287767df2ea7c414f90 100644
(file)
--- 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);
}