From 3e62d3a8d88b48d4ed19e00ea2bbc3d0a2b6acf7 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Tue, 22 Mar 2005 14:27:10 +0000 Subject: add FreeTexImageData hook to help single-copy texturing in drivers --- src/mesa/main/context.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/context.c') 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. -- cgit v1.2.3