summaryrefslogtreecommitdiff
path: root/src/mesa/swrast_setup
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-09-13 02:59:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-09-13 02:59:53 +0000
commit42c34efd23d7ad05df9f3c71f7d52dd259e179d8 (patch)
tree79161c2cbe3801650843cc20ede7bdc3bdccd673 /src/mesa/swrast_setup
parentbdf8441f808b7bd0a8fa10c59025c015db482a58 (diff)
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.
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r--src/mesa/swrast_setup/ss_triangle.c2
1 files changed, 1 insertions, 1 deletions
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)