From 6dc85575000127630489b407c50a4b3ea87c9acb Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 17 Jul 2003 13:43:59 +0000 Subject: Merge Jose's documentation and core Mesa changes from embedded branch --- src/mesa/main/depth.h | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'src/mesa/main/depth.h') diff --git a/src/mesa/main/depth.h b/src/mesa/main/depth.h index b90d723b38..ce5f28e84d 100644 --- a/src/mesa/main/depth.h +++ b/src/mesa/main/depth.h @@ -1,3 +1,8 @@ +/** + * \file depth.h + * Depth buffer operations. + */ + /* * Mesa 3-D graphics library * Version: 5.1 @@ -30,24 +35,28 @@ #include "mtypes.h" -/* - * Immediate-mode API entrpoints - */ +#if _HAVE_FULL_GL extern void _mesa_ClearDepth( GLclampd depth ); - extern void _mesa_DepthFunc( GLenum func ); - extern void _mesa_DepthMask( GLboolean flag ); +extern void +_mesa_init_depth( GLcontext * ctx ); extern void _mesa_DepthBoundsEXT( GLclampd zmin, GLclampd zmax ); +#else + +/** No-op */ +#define _mesa_init_depth( c ) ((void)0) + +#endif #endif -- cgit v1.2.3