Bug #6044: actually delete the texture object in mgaDeleteTexture

This commit is contained in:
Tilman Sauerbeck 2006-11-26 09:39:21 +00:00
parent 16e7ca9d72
commit 85365e6aa4

View file

@ -502,6 +502,9 @@ mgaDeleteTexture( GLcontext *ctx, struct gl_texture_object *tObj )
driDestroyTextureObject( t );
}
/* Free mipmap images and the texture object itself */
_mesa_delete_texture_object(ctx, tObj);
}