summaryrefslogtreecommitdiff
path: root/src/mesa/main/context.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/context.c
parent050b77a9ac45afc5c3acb4d018f1d4858c2f4cc7 (diff)
add FreeTexImageData hook to help single-copy texturing in drivers
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 69610e488b..a1e40e94af 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1536,6 +1536,7 @@ _mesa_initialize_context( GLcontext *ctx,
{
ASSERT(driverContext);
assert(driverFunctions->NewTextureObject);
+ assert(driverFunctions->FreeTexImageData);
/* If the driver wants core Mesa to use special imports, it'll have to
* override these defaults.