diff options
author | Daniel Borca <[email protected]> | 2004-01-15 07:16:06 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-01-15 07:16:06 +0000 |
commit | 4d5e6623d36183b9c0380aa5da8fa37a979ce441 (patch) | |
tree | 2347e89e095ee766e5d9fc6c3efe9d46a4d85226 /src/mesa/drivers/glide/fxddtex.c | |
parent | 3663c0f82527d972a7e5b85937d8da60253eb6f3 (diff) |
_mesa_delete_texture_object and some other updates
Diffstat (limited to 'src/mesa/drivers/glide/fxddtex.c')
-rw-r--r-- | src/mesa/drivers/glide/fxddtex.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxddtex.c b/src/mesa/drivers/glide/fxddtex.c index 629f0e311ea..eaca8401b8b 100644 --- a/src/mesa/drivers/glide/fxddtex.c +++ b/src/mesa/drivers/glide/fxddtex.c @@ -43,6 +43,7 @@ #include "image.h" #include "teximage.h" #include "texformat.h" +#include "texobj.h" #include "texstore.h" #include "texutil.h" @@ -365,6 +366,9 @@ fxDDTexDel(GLcontext * ctx, struct gl_texture_object *tObj) FREE(ti); tObj->DriverData = NULL; + + /* Free mipmap images and the texture object itself */ + _mesa_delete_texture_object(ctx, tObj); } /* |