summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-19 14:07:16 -0600
committerBrian <brian@yutani.localnet.net>2007-04-19 14:07:16 -0600
commit121f2212ccfa716e4853d0eead3755103d8c89e4 (patch)
treea6d53919cabcedd6c1ee7d0d6fc669ac8d6c8c4f /src
parent24a93dd6a427567071bd5aecd7bf53828381bc73 (diff)
remove invalid assertion (span->facing may be set because of polygonmode)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast/s_stencil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c
index 43475c0e81..2b898486b2 100644
--- a/src/mesa/swrast/s_stencil.c
+++ b/src/mesa/swrast/s_stencil.c
@@ -1009,8 +1009,6 @@ stencil_and_ztest_pixels( GLcontext *ctx, SWspan *span, GLuint face )
GLboolean
_swrast_stencil_and_ztest_span(GLcontext *ctx, SWspan *span)
{
- /* span->facing can only be non-zero if using two-sided stencil */
- ASSERT(ctx->Stencil._TestTwoSide || span->facing == 0);
if (span->arrayMask & SPAN_XY)
return stencil_and_ztest_pixels(ctx, span, span->facing);
else