From: Brian Paul Date: Sat, 29 Sep 2012 14:47:56 +0000 (-0600) Subject: mesa: remove unused gl_context::DriverCtx field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=917d27392825719146a02acc684fb75f298f59ed;p=mesa.git mesa: remove unused gl_context::DriverCtx field --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index c50504d1962..e0be048bbfd 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -934,7 +934,6 @@ _mesa_initialize_context(struct gl_context *ctx, * textures. */ ctx->Driver = *driverFunctions; - ctx->DriverCtx = driverContext; if (share_list) { /* share state with another context */ diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index e790e18c4a5..40a802f52e6 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3403,8 +3403,6 @@ struct gl_context */ struct dd_function_table Driver; - void *DriverCtx; /**< Points to device driver context/state */ - /** Core/Driver constants */ struct gl_constants Const; diff --git a/src/mesa/x86/gen_matypes.c b/src/mesa/x86/gen_matypes.c index a1d8ee67dbe..61f181cd928 100644 --- a/src/mesa/x86/gen_matypes.c +++ b/src/mesa/x86/gen_matypes.c @@ -93,7 +93,6 @@ int main( int argc, char **argv ) */ OFFSET_HEADER( "struct gl_context" ); - OFFSET( "CTX_DRIVER_CTX ", struct gl_context, DriverCtx ); printf( "\n" ); OFFSET( "CTX_LIGHT_ENABLED ", struct gl_context, Light.Enabled ); OFFSET( "CTX_LIGHT_SHADE_MODEL ", struct gl_context, Light.ShadeModel );