summaryrefslogtreecommitdiff
path: root/src/mesa/main/depth.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-07-17 13:43:59 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-07-17 13:43:59 +0000
commit6dc85575000127630489b407c50a4b3ea87c9acb (patch)
treec79b24b7059577caf8201eeb7a42a6890721f52b /src/mesa/main/depth.h
parent44c699949ac09459771304a8aec8f2fc622057fb (diff)
Merge Jose's documentation and core Mesa changes from embedded branch
Diffstat (limited to 'src/mesa/main/depth.h')
-rw-r--r--src/mesa/main/depth.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/mesa/main/depth.h b/src/mesa/main/depth.h
index b90d723b38c..ce5f28e84d6 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