summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-03-29 16:50:31 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-03-29 16:50:31 +0000
commitee403ff0ba272f5be539ddc921d3fffb3d250cc4 (patch)
treeedcd3441d7b0991ed48be40646195b40eb8109a5 /src/mesa/main/depth.c
parent1b2fef5c28a40cd001598071e25b876ad4fccdd1 (diff)
Removed DD_Z_NEVER.
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r--src/mesa/main/depth.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c
index fa77439394d..36daf5c5920 100644
--- a/src/mesa/main/depth.c
+++ b/src/mesa/main/depth.c
@@ -1,4 +1,4 @@
-/* $Id: depth.c,v 1.27 2001/03/12 00:48:37 gareth Exp $ */
+/* $Id: depth.c,v 1.28 2001/03/29 16:50:32 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -93,11 +93,6 @@ _mesa_DepthFunc( GLenum func )
FLUSH_VERTICES(ctx, _NEW_DEPTH);
ctx->Depth.Func = func;
- if (func == GL_NEVER)
- ctx->_TriangleCaps |= DD_Z_NEVER;
- else
- ctx->_TriangleCaps &= ~DD_Z_NEVER;
-
if (ctx->Driver.DepthFunc)
ctx->Driver.DepthFunc( ctx, func );
}