summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tritemp.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-06-24 16:35:18 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-06-24 16:35:18 +0000
commit939dd17653245621bf7488803f09418244b7b0b7 (patch)
tree50eaa1558f277fdb8ccfb748eb1ddd73b56c3d1a /src/mesa/swrast/s_tritemp.h
parentde67b3ea18c68f69e0303f1ba88dbb26066049de (diff)
fix HP occlusion testing when using generic span path
Diffstat (limited to 'src/mesa/swrast/s_tritemp.h')
-rw-r--r--src/mesa/swrast/s_tritemp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index 89f7d29bf8..a1a51c4aaa 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -304,9 +304,6 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
oneOverArea = 1.0F / area;
}
-#ifndef DO_OCCLUSION_TEST
- ctx->OcclusionResult = GL_TRUE;
-#endif
span.facing = ctx->_Facing; /* for 2-sided stencil test */
/* Edge setup. For a triangle strip these could be reused... */
@@ -1329,5 +1326,4 @@ static void NAME(GLcontext *ctx, const SWvertex *v0,
#undef InterpToInt
#undef INTERP_ONE
-#undef DO_OCCLUSION_TEST
#undef NAME