diff options
author | Keith Whitwell <[email protected]> | 2005-03-22 14:27:10 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-03-22 14:27:10 +0000 |
commit | 3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 (patch) | |
tree | 22cdbafab36b4cdf6bfead1b5926f55b2790a690 /src/mesa/main/texobj.c | |
parent | 050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 488edab8725..5594cd9382b 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] ); } } } |