stencil wrap works, either HW or SW (Ian Romanick)
authorDaniel Borca <dborca@users.sourceforge.net>
Tue, 5 Oct 2004 08:42:10 +0000 (08:42 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Tue, 5 Oct 2004 08:42:10 +0000 (08:42 +0000)
src/mesa/drivers/dri/tdfx/tdfx_context.c

index 11d0d4a37f6e5ef935439bddac68d73d0c45d2d5..ea4adc9ee0373c658a97935b6788d419fd6b8f9f 100644 (file)
@@ -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");
    }