diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-02-26 23:58:12 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-02-26 23:58:12 +0000 |
commit | 6975540db26309cdfa8f27b3b6dadf3dbf4a1746 (patch) | |
tree | d9b4ee48319857f700b740edea0686dcec7c1578 /src/mesa/drivers/glide/fxdd.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/drivers/glide/fxdd.c')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 0b11918e39..c26a373a96 100644 --- a/src/mesa/drivers/glide/fxdd.c +++ b/src/mesa/drivers/glide/fxdd.c @@ -832,22 +832,14 @@ void fxDDInitExtensions( GLcontext *ctx ) { fxMesaContext fxMesa=(fxMesaContext)ctx->DriverCtx; - gl_extensions_disable(ctx, "GL_EXT_blend_logic_op"); - gl_extensions_disable(ctx, "GL_EXT_blend_minmax"); - gl_extensions_disable(ctx, "GL_EXT_blend_subtract"); - gl_extensions_disable(ctx, "GL_EXT_blend_color"); - gl_extensions_disable(ctx, "GL_EXT_fog_coord"); + _mesa_add_extension(ctx, GL_TRUE, "3DFX_set_global_palette", 0); + _mesa_enable_extension(ctx, "GL_EXT_point_parameters"); - if (1) - gl_extensions_disable(ctx, "GL_EXT_point_parameters"); + if (fxMesa->haveTwoTMUs) + _mesa_enable_extension(ctx, "GL_EXT_texture_env_add"); - gl_extensions_add(ctx, GL_TRUE, "3DFX_set_global_palette", 0); - - if (!fxMesa->haveTwoTMUs) - gl_extensions_disable(ctx, "GL_EXT_texture_env_add"); - - if (!fxMesa->emulateTwoTMUs) - gl_extensions_disable(ctx, "GL_ARB_multitexture"); + if (fxMesa->emulateTwoTMUs) + _mesa_enable_extension(ctx, "GL_ARB_multitexture"); } |