summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i830/i830_tex.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-01-11 16:27:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-01-11 16:27:53 +0000
commit8bc3ce92a2fa1b8b4ae2b928d4102389f2298917 (patch)
tree3c25d82b26158c0fc8dd6d23c589a82f1595d6f3 /src/mesa/drivers/dri/i830/i830_tex.c
parentadd9f2168a5d6b15eb9955ee761246c4f4cf8458 (diff)
call _mesa_delete_texture_object() from in the driver's DeleteTexture function
Diffstat (limited to 'src/mesa/drivers/dri/i830/i830_tex.c')
-rw-r--r--src/mesa/drivers/dri/i830/i830_tex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i830/i830_tex.c b/src/mesa/drivers/dri/i830/i830_tex.c
index 14a70a0905..8067e5d695 100644
--- a/src/mesa/drivers/dri/i830/i830_tex.c
+++ b/src/mesa/drivers/dri/i830/i830_tex.c
@@ -438,6 +438,8 @@ static void i830DeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj )
driDestroyTextureObject( t );
}
+ /* Free mipmap images and the texture object itself */
+ _mesa_delete_texture_object(ctx, tObj);
}