projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
263581b
)
delete the textures
author
Dave Airlie
<airliedfreedesktop.org>
Mon, 23 Feb 2004 06:35:22 +0000
(06:35 +0000)
committer
Dave Airlie
<airliedfreedesktop.org>
Mon, 23 Feb 2004 06:35:22 +0000
(06:35 +0000)
src/mesa/drivers/dri/mach64/mach64_tex.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/mach64/mach64_tex.c
b/src/mesa/drivers/dri/mach64/mach64_tex.c
index 1ac42e330dc599613abc5386751f99597381a065..fc55939198c8e3471268fce21da9c53fda1b9f1a 100644
(file)
--- a/
src/mesa/drivers/dri/mach64/mach64_tex.c
+++ b/
src/mesa/drivers/dri/mach64/mach64_tex.c
@@
-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);
+
}
}