projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24a93dd
)
remove invalid assertion (span->facing may be set because of polygonmode)
author
Brian
<brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:07:16 +0000
(14:07 -0600)
committer
Brian
<brian@yutani.localnet.net>
Thu, 19 Apr 2007 20:07:16 +0000
(14:07 -0600)
src/mesa/swrast/s_stencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_stencil.c
b/src/mesa/swrast/s_stencil.c
index 43475c0e816e8dabcb8c0fbbb589225ccc1b7bf1..2b898486b22c6c0f80b8fd31b4b4aa06c92cc460 100644
(file)
--- 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