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/gamma/gamma_tex.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/dri/gamma') diff --git a/src/mesa/drivers/dri/gamma/gamma_tex.c b/src/mesa/drivers/dri/gamma/gamma_tex.c index 22ca1445823..72359848228 100644 --- a/src/mesa/drivers/dri/gamma/gamma_tex.c +++ b/src/mesa/drivers/dri/gamma/gamma_tex.c @@ -366,6 +366,8 @@ static void gammaDeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj ) gammaDestroyTexObj( gmesa, t ); tObj->DriverData = 0; } + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, tObj); } static GLboolean gammaIsTextureResident( GLcontext *ctx, -- cgit v1.2.3