diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 1999-09-18 20:41:22 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 1999-09-18 20:41:22 +0000 |
commit | 1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df (patch) | |
tree | ac7671bdd63c0de5bdc7e60af521b0fc4418238d /src/mesa/main/clip.h | |
parent | 56b58668e86e6156555e36050df14b49faa14f31 (diff) |
Large patch:
- FX bug fixes.
- Polygon mode and edgeflag work properly.
- Clipping works with edgeflag.
- Driver.ReducedPrimitiveChange() callback so drivers
that implement lines & points as triangles can turn culling off
before rendering groups of these primitives.
- Cleaned up feedback & select primitives.
Diffstat (limited to 'src/mesa/main/clip.h')
-rw-r--r-- | src/mesa/main/clip.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/mesa/main/clip.h b/src/mesa/main/clip.h index 03e09ca7e5..b8ea954dca 100644 --- a/src/mesa/main/clip.h +++ b/src/mesa/main/clip.h @@ -1,4 +1,4 @@ -/* $Id: clip.h,v 1.1 1999/08/19 00:55:41 jtg Exp $ */ +/* $Id: clip.h,v 1.2 1999/09/18 20:41:22 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -47,16 +47,8 @@ -typedef GLuint (*clip_line_func)( struct vertex_buffer *VB, - GLuint *i, GLuint *j, - GLubyte mask); -typedef GLuint (*clip_poly_func)( struct vertex_buffer *VB, - GLuint n, GLuint vlist[], - GLubyte mask ); - -extern clip_poly_func gl_poly_clip_tab[5]; -extern clip_line_func gl_line_clip_tab[5]; +#define CLIP_TAB_EDGEFLAG 1 extern void gl_init_clip(void); |