From: Daniel Borca Date: Tue, 5 Oct 2004 08:42:10 +0000 (+0000) Subject: stencil wrap works, either HW or SW (Ian Romanick) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0efa4a8f966d9f306e9402c0eb7bf9d4dea2a194;p=mesa.git stencil wrap works, either HW or SW (Ian Romanick) --- diff --git a/src/mesa/drivers/dri/tdfx/tdfx_context.c b/src/mesa/drivers/dri/tdfx/tdfx_context.c index 11d0d4a37f6..ea4adc9ee03 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"); }