diff options
author | Brian Paul <[email protected]> | 2012-09-29 08:47:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-10-05 17:13:03 -0600 |
commit | 917d27392825719146a02acc684fb75f298f59ed (patch) | |
tree | 4609f422ad09a49c2f35ef6011e10a437e811f37 /src/mesa | |
parent | 4c9042d21dca0be75f196f952a687675c140aac2 (diff) |
mesa: remove unused gl_context::DriverCtx field
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/context.c | 1 | ||||
-rw-r--r-- | src/mesa/main/mtypes.h | 2 | ||||
-rw-r--r-- | src/mesa/x86/gen_matypes.c | 1 |
3 files changed, 0 insertions, 4 deletions
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 ); |