From 6e4f594a02fc384b17d5732be652d7d28618aec2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 25 Aug 2005 14:23:38 +0000 Subject: removed GL_HP_occlusion_test extension --- src/mesa/swrast/s_span.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/mesa/swrast/s_span.c') diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index c5b7f858e7..d2cafeb7ac 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1,6 +1,6 @@ /* * Mesa 3-D graphics library - * Version: 6.3 + * Version: 6.5 * * Copyright (C) 1999-2005 Brian Paul All Rights Reserved. * @@ -849,11 +849,6 @@ _swrast_write_index_span( GLcontext *ctx, struct sw_span *span) } } - /* if we get here, something passed the depth test */ - if (ctx->Depth.OcclusionTest) { - ctx->OcclusionResult = GL_TRUE; - } - #if FEATURE_ARB_occlusion_query if (ctx->Occlusion.Active) { /* update count of 'passed' fragments */ @@ -1219,11 +1214,6 @@ _swrast_write_rgba_span( GLcontext *ctx, struct sw_span *span) } } - /* if we get here, some fragments passed the depth test */ - if (ctx->Depth.OcclusionTest) { - ctx->OcclusionResult = GL_TRUE; - } - #if FEATURE_ARB_occlusion_query if (ctx->Occlusion.Active) { /* update count of 'passed' fragments */ -- cgit v1.2.3