summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_cull.c
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-10 11:54:16 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-10 11:54:16 -0600
commit720c0eb71db9908c5ecef15263c2ae638d61d07b (patch)
tree9123a1f82d7fc50548b7d5094f19d597f91cceca /src/mesa/pipe/draw/draw_cull.c
parent1fe4cf83cd929a0ecc1119d3bb541e80618d3987 (diff)
added comments
Diffstat (limited to 'src/mesa/pipe/draw/draw_cull.c')
-rw-r--r--src/mesa/pipe/draw/draw_cull.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mesa/pipe/draw/draw_cull.c b/src/mesa/pipe/draw/draw_cull.c
index d27d33a40d..e7343cfd76 100644
--- a/src/mesa/pipe/draw/draw_cull.c
+++ b/src/mesa/pipe/draw/draw_cull.c
@@ -25,22 +25,25 @@
*
**************************************************************************/
+/**
+ * \brief Drawing stage for polygon culling
+ */
+
/* Authors: Keith Whitwell <keith@tungstengraphics.com>
*/
+
#include "main/imports.h"
#include "pipe/p_defines.h"
#include "draw_private.h"
-
struct cull_stage {
struct prim_stage stage;
- GLuint mode;
+ GLuint mode; /**< one of PIPE_WINDING_x */
};
-
static INLINE struct cull_stage *cull_stage( struct prim_stage *stage )
{
return (struct cull_stage *)stage;