From 6975540db26309cdfa8f27b3b6dadf3dbf4a1746 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 26 Feb 2001 23:58:12 +0000 Subject: Disable most extensions by default. Drivers should enable them as needed. Renamed gl_*() functions as _mesa_*(). --- src/mesa/main/context.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/context.c') diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 49b4a01b8a..7d0e427f40 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;iPostColorMatrixColorTable ); _mesa_free_colortable_data( &ctx->Texture.Palette ); - gl_extensions_dtr(ctx); + _mesa_extensions_dtr(ctx); FREE(ctx->Exec); FREE(ctx->Save); -- cgit v1.2.3