summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-13 02:59:53 +0000
committerBrian Paul <[email protected]>2005-09-13 02:59:53 +0000
commit42c34efd23d7ad05df9f3c71f7d52dd259e179d8 (patch)
tree79161c2cbe3801650843cc20ede7bdc3bdccd673 /src/mesa/swrast
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')
-rw-r--r--src/mesa/swrast/s_stencil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c
index e45f8eabb2b..3e1b28740a8 100644
--- a/src/mesa/swrast/s_stencil.c
+++ b/src/mesa/swrast/s_stencil.c
@@ -1004,7 +1004,7 @@ GLboolean
_swrast_stencil_and_ztest_span(GLcontext *ctx, struct sw_span *span)
{
/* span->facing can only be non-zero if using two-sided stencil */
- ASSERT(ctx->Stencil.TestTwoSide || span->facing == 0);
+ ASSERT(ctx->Stencil._TestTwoSide || span->facing == 0);
if (span->arrayMask & SPAN_XY)
return stencil_and_ztest_pixels(ctx, span, span->facing);
else