delete the textures

This commit is contained in:
Dave Airlie 2004-02-23 06:35:22 +00:00
parent 263581bba4
commit 001dc022fc

View file

@ -42,6 +42,8 @@
#include "enums.h"
#include "texstore.h"
#include "texformat.h"
#include "teximage.h"
#include "texobj.h"
#include "imports.h"
@ -568,6 +570,9 @@ static void mach64DDDeleteTexture( GLcontext *ctx,
mach64DestroyTexObj( mmesa, t );
tObj->DriverData = NULL;
/* Free mipmap images and the texture object itself */
_mesa_delete_texture_object(ctx, tObj);
}
}