From: Brian Date: Thu, 19 Apr 2007 20:07:16 +0000 (-0600) Subject: remove invalid assertion (span->facing may be set because of polygonmode) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=121f2212ccfa716e4853d0eead3755103d8c89e4;p=mesa.git remove invalid assertion (span->facing may be set because of polygonmode) --- 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