summaryrefslogtreecommitdiff
path: root/src/mesa/main/depth.c
diff options
context:
space:
mode:
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 fa77439394..36daf5c592 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 );
}