From 8bc3ce92a2fa1b8b4ae2b928d4102389f2298917 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 11 Jan 2004 16:27:53 +0000 Subject: call _mesa_delete_texture_object() from in the driver's DeleteTexture function --- src/mesa/drivers/dri/i810/i810tex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/i810') diff --git a/src/mesa/drivers/dri/i810/i810tex.c b/src/mesa/drivers/dri/i810/i810tex.c index f2ebd35c9ac..31e5207eb2a 100644 --- a/src/mesa/drivers/dri/i810/i810tex.c +++ b/src/mesa/drivers/dri/i810/i810tex.c @@ -426,6 +426,8 @@ static void i810DeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj ) I810_FIREVERTICES( imesa ); driDestroyTextureObject( t ); } + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, tObj); } static const struct gl_texture_format * -- cgit v1.2.3