From 42c34efd23d7ad05df9f3c71f7d52dd259e179d8 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 13 Sep 2005 02:59:53 +0000 Subject: OpenGL 2.0's two-sided stencil feature wasn't implemented correctly. See comment near top of stencil.c for info about OpenGL 2.0 vs. GL_EXT_stencil_two_side. --- src/mesa/swrast_setup/ss_triangle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/swrast_setup') diff --git a/src/mesa/swrast_setup/ss_triangle.c b/src/mesa/swrast_setup/ss_triangle.c index d37bdf71cb..09244d9c4b 100644 --- a/src/mesa/swrast_setup/ss_triangle.c +++ b/src/mesa/swrast_setup/ss_triangle.c @@ -299,7 +299,7 @@ void _swsetup_choose_trifuncs( GLcontext *ctx ) */ if (ctx->Polygon.FrontMode != GL_FILL || ctx->Polygon.BackMode != GL_FILL || - (ctx->Stencil.Enabled && ctx->Stencil.TestTwoSide)) + (ctx->Stencil.Enabled && ctx->Stencil._TestTwoSide)) ind |= SS_UNFILLED_BIT; if (ctx->Visual.rgbMode) -- cgit v1.2.3