From 121f2212ccfa716e4853d0eead3755103d8c89e4 Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 19 Apr 2007 14:07:16 -0600 Subject: remove invalid assertion (span->facing may be set because of polygonmode) --- src/mesa/swrast/s_stencil.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/swrast/s_stencil.c b/src/mesa/swrast/s_stencil.c index 43475c0e816..2b898486b22 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 -- cgit v1.2.3