summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-10-02 23:24:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-10-02 23:24:04 +0000
commitbe99e845bd7979fe46d38d9b294c1ba0a0aa95b8 (patch)
tree894e2807945dacf81c906a749a17534e62825489 /src/mesa/swrast/s_span.c
parent0adce5d0ed20910a41c2115e4dd0173fdcc53cdb (diff)
finished up GL_EXT_stencil_two_side
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 74fccc55c7..b134890a3b 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1,4 +1,4 @@
-/* $Id: s_span.c,v 1.47 2002/09/06 02:56:09 brianp Exp $ */
+/* $Id: s_span.c,v 1.48 2002/10/02 23:24:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -803,8 +803,7 @@ _mesa_write_index_span( GLcontext *ctx, struct sw_span *span)
_mesa_span_interpolate_z(ctx, span);
if (ctx->Stencil.Enabled) {
- const GLuint face = 0; /* XXX stencil two side */
- if (!_mesa_stencil_and_ztest_span(ctx, span, face)) {
+ if (!_mesa_stencil_and_ztest_span(ctx, span)) {
span->arrayMask = origArrayMask;
return;
}
@@ -983,8 +982,7 @@ _mesa_write_rgba_span( GLcontext *ctx, struct sw_span *span)
_mesa_span_interpolate_z(ctx, span);
if (ctx->Stencil.Enabled) {
- const GLuint face = 0; /* XXX stencil two side */
- if (!_mesa_stencil_and_ztest_span(ctx, span, face)) {
+ if (!_mesa_stencil_and_ztest_span(ctx, span)) {
span->interpMask = origInterpMask;
span->arrayMask = origArrayMask;
return;
@@ -1214,8 +1212,7 @@ _mesa_write_texture_span( GLcontext *ctx, struct sw_span *span)
_mesa_span_interpolate_z(ctx, span);
if (ctx->Stencil.Enabled) {
- const GLuint face = 0; /* XXX stencil two side */
- if (!_mesa_stencil_and_ztest_span(ctx, span, face)) {
+ if (!_mesa_stencil_and_ztest_span(ctx, span)) {
span->arrayMask = origArrayMask;
return;
}