diff options
author | Brian Paul <[email protected]> | 2001-02-26 23:58:12 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-02-26 23:58:12 +0000 |
commit | 6975540db26309cdfa8f27b3b6dadf3dbf4a1746 (patch) | |
tree | d9b4ee48319857f700b740edea0686dcec7c1578 /src/mesa/main/context.c | |
parent | 806e20f463c9b98b945f0095e07642362720256a (diff) |
Disable most extensions by default. Drivers should enable them as needed.
Renamed gl_*() functions as _mesa_*().
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 49b4a01b8a0..7d0e427f40d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.121 2001/02/17 18:41:01 brianp Exp $ */ +/* $Id: context.c,v 1.122 2001/02/26 23:58:12 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -362,7 +362,7 @@ _mesa_initialize_framebuffer( GLframebuffer *buffer, assert(visual->alphaBits > 0); } - buffer->Visual = visual; + buffer->Visual = visual; /* XXX copy instead? */ buffer->UseSoftwareDepthBuffer = softwareDepth; buffer->UseSoftwareStencilBuffer = softwareStencil; buffer->UseSoftwareAccumBuffer = softwareAccum; @@ -431,8 +431,8 @@ one_time_init( void ) gl_init_lists(); - _mesa_init_math(); _math_init(); + _mesa_init_math(); if (getenv("MESA_DEBUG")) { _glapi_noop_enable_warnings(GL_TRUE); @@ -937,7 +937,7 @@ init_attrib_groups( GLcontext *ctx ) ctx->MinMax.Min[ACOMP] = 1000; ctx->MinMax.Max[ACOMP] = -1000; /* Extensions */ - gl_extensions_ctr( ctx ); + _mesa_extensions_ctr( ctx ); /* Lighting group */ for (i=0;i<MAX_LIGHTS;i++) { @@ -1614,7 +1614,7 @@ _mesa_free_context_data( GLcontext *ctx ) _mesa_free_colortable_data( &ctx->PostColorMatrixColorTable ); _mesa_free_colortable_data( &ctx->Texture.Palette ); - gl_extensions_dtr(ctx); + _mesa_extensions_dtr(ctx); FREE(ctx->Exec); FREE(ctx->Save); |