diff options
author | Brian Paul <[email protected]> | 2001-05-03 14:11:18 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-05-03 14:11:18 +0000 |
commit | 9e351d52ae52927fbe505e8808e70de3e646be79 (patch) | |
tree | 1317296db672779563ce132da8f98177ac0747db /src/mesa/main/context.c | |
parent | 5028216c81706070fab906f4e56a14c1e2d61cbc (diff) |
minor clean-ups and warning fixes
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 948de1b330f..d09ca7f8539 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.135 2001/04/28 08:39:17 keithw Exp $ */ +/* $Id: context.c,v 1.136 2001/05/03 14:11:18 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -1498,7 +1498,7 @@ _mesa_initialize_context( GLcontext *ctx, #if defined(MESA_TRACE) - ctx->TraceCtx = CALLOC( sizeof(trace_context_t) ); + ctx->TraceCtx = (trace_context_t *) CALLOC( sizeof(trace_context_t) ); #if 0 /* Brian: do you want to have CreateContext fail here, or should we just trap in NewTrace (currently done)? */ @@ -1675,18 +1675,6 @@ _mesa_destroy_context( GLcontext *ctx ) /* - * Called by the driver after both the context and driver are fully - * initialized. Currently just reads the config file. - */ -void -_mesa_context_initialize( GLcontext *ctx ) -{ - _mesa_read_config_file( ctx ); -} - - - -/* * Copy attribute groups from one context to another. * Input: src - source context * dst - destination context |