summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_context.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.c b/src/mesa/drivers/dri/tdfx/tdfx_context.c
index 294d9c82cce..11d0d4a37f6 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_context.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_context.c
@@ -75,6 +75,7 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
_mesa_enable_extension( ctx, "GL_EXT_texture_lod_bias" );
_mesa_enable_extension( ctx, "GL_EXT_blend_func_separate" );
_mesa_enable_extension( ctx, "GL_EXT_fog_coord" );
+ _mesa_enable_extension( ctx, "GL_EXT_texture_env_add" );
#if 0
_mesa_enable_extension(ctx, "GL_EXT_secondary_color");
@@ -83,7 +84,6 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
#endif
if ( fxMesa->haveTwoTMUs ) {
- _mesa_enable_extension( ctx, "GL_EXT_texture_env_add" );
_mesa_enable_extension( ctx, "GL_ARB_multitexture" );
}
@@ -97,9 +97,7 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
_mesa_enable_extension( ctx, "GL_EXT_blend_subtract" );
_mesa_enable_extension( ctx, "GL_EXT_blend_equation_separate" );
} else {
-#if 0 /*[dBorca] cannot handle 565. badbad! revise*/
_mesa_enable_extension( ctx, "GL_SGIS_generate_mipmap" );
-#endif
}
if (fxMesa->haveHwStencil) {
@@ -112,6 +110,7 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
if (TDFX_IS_NAPALM(fxMesa)/*fxMesa->Glide.HaveCombineExt - JJJ*/) {
_mesa_enable_extension( ctx, "GL_EXT_texture_env_combine" );
+ _mesa_enable_extension( ctx, "GL_ARB_texture_env_combine" );
}
/* core-level extensions */