From ee403ff0ba272f5be539ddc921d3fffb3d250cc4 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 29 Mar 2001 16:50:31 +0000 Subject: Removed DD_Z_NEVER. Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE. --- src/mesa/main/depth.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/mesa/main/depth.c') 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 ); } -- cgit v1.2.3