summaryrefslogtreecommitdiff
path: root/src/mesa/main/texobj.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2005-03-22 14:27:10 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2005-03-22 14:27:10 +0000
commit3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 (patch)
tree22cdbafab36b4cdf6bfead1b5926f55b2790a690 /src/mesa/main/texobj.c
parent050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 (diff)
add FreeTexImageData hook to help single-copy texturing in drivers
Diffstat (limited to 'src/mesa/main/texobj.c')
-rw-r--r--src/mesa/main/texobj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c
index 488edab872..5594cd9382 100644
--- a/src/mesa/main/texobj.c
+++ b/src/mesa/main/texobj.c
@@ -144,7 +144,7 @@ _mesa_delete_texture_object( GLcontext *ctx, struct gl_texture_object *texObj )
for (face = 0; face < 6; face++) {
for (i = 0; i < MAX_TEXTURE_LEVELS; i++) {
if (texObj->Image[face][i]) {
- _mesa_delete_texture_image( texObj->Image[face][i] );
+ _mesa_delete_texture_image( ctx, texObj->Image[face][i] );
}
}
}