summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Borca <dborca@users.sourceforge.net>2004-10-05 08:42:10 +0000
committerDaniel Borca <dborca@users.sourceforge.net>2004-10-05 08:42:10 +0000
commit0efa4a8f966d9f306e9402c0eb7bf9d4dea2a194 (patch)
tree4b56a5832af0c1789c8e5ffcd3dbf88b65e1265b /src
parentcb932046a8241279436d78754b067d6590aceb4f (diff)
stencil wrap works, either HW or SW (Ian Romanick)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/tdfx/tdfx_context.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.c b/src/mesa/drivers/dri/tdfx/tdfx_context.c
index 11d0d4a37f..ea4adc9ee0 100644
--- a/src/mesa/drivers/dri/tdfx/tdfx_context.c
+++ b/src/mesa/drivers/dri/tdfx/tdfx_context.c
@@ -76,6 +76,7 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
_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" );
+ _mesa_enable_extension( ctx, "GL_EXT_stencil_wrap" );
#if 0
_mesa_enable_extension(ctx, "GL_EXT_secondary_color");
@@ -100,10 +101,6 @@ static void tdfxDDInitExtensions( GLcontext *ctx )
_mesa_enable_extension( ctx, "GL_SGIS_generate_mipmap" );
}
- if (fxMesa->haveHwStencil) {
- _mesa_enable_extension( ctx, "GL_EXT_stencil_wrap" );
- }
-
if (1/*fxMesa->Glide.HaveMirrorExt - JJJ*/) {
_mesa_enable_extension(ctx, "GL_ARB_texture_mirrored_repeat");
}