remove invalid assertion (span->facing may be set because of polygonmode)
authorBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:07:16 +0000 (14:07 -0600)
committerBrian <brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:07:16 +0000 (14:07 -0600)
src/mesa/swrast/s_stencil.c

index 43475c0e816e8dabcb8c0fbbb589225ccc1b7bf1..2b898486b22c6c0f80b8fd31b4b4aa06c92cc460 100644 (file)
@@ -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