summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2005-03-22 14:27:10 +0000
committerKeith Whitwell <[email protected]>2005-03-22 14:27:10 +0000
commit3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 (patch)
tree22cdbafab36b4cdf6bfead1b5926f55b2790a690 /src/mesa/main/dd.h
parent050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 (diff)
add FreeTexImageData hook to help single-copy texturing in drivers
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 312631a60aa..1d9d366014c 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -511,6 +511,11 @@ struct dd_function_table {
*/
struct gl_texture_image * (*NewTextureImage)( GLcontext *ctx );
+ /**
+ * Called to free tImage->Data.
+ */
+ void (*FreeTexImageData)( GLcontext *ctx, struct gl_texture_image *tImage );
+
/**
* Called by glAreTextureResident().
*/