diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-15 13:59:47 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-12-15 13:59:47 +0000 |
commit | cc488b03a387aeb2ea25bb7ed22548cbf612fce2 (patch) | |
tree | f40b9614cb84c6722037e715ea789a8781babfab /src/mesa/drivers/dri/unichrome/via_tex.c | |
parent | ae68c3212b46024534217e5d9270916b1156c15f (diff) | |
download | external_mesa3d-cc488b03a387aeb2ea25bb7ed22548cbf612fce2.zip external_mesa3d-cc488b03a387aeb2ea25bb7ed22548cbf612fce2.tar.gz external_mesa3d-cc488b03a387aeb2ea25bb7ed22548cbf612fce2.tar.bz2 |
Add _mesa_delete_texture_object() call to viaDeleteTexture
[Freedesktop BUG 2080]
Diffstat (limited to 'src/mesa/drivers/dri/unichrome/via_tex.c')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_tex.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/unichrome/via_tex.c b/src/mesa/drivers/dri/unichrome/via_tex.c index 97a4c85..8a2b6b1 100644 --- a/src/mesa/drivers/dri/unichrome/via_tex.c +++ b/src/mesa/drivers/dri/unichrome/via_tex.c @@ -263,6 +263,9 @@ static void viaDeleteTexture(GLcontext *ctx, struct gl_texture_object *texObj) #ifdef DEBUG if (VIA_DEBUG) fprintf(stderr, "viaDeleteTexture - out\n"); #endif + + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, texObj); } static GLboolean viaIsTextureResident(GLcontext *ctx, |